This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 40f98b2cef Fix quotes resulting from merging cross-commit (#27662)
40f98b2cef is described below
commit 40f98b2cefd2f988a8fd0c9aeccdc92d9083c245
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Nov 14 16:32:18 2022 +0100
Fix quotes resulting from merging cross-commit (#27662)
The #27557 was built before normalizatin was applied and merging
it caused static checks to fail.
---
airflow/www/views.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/airflow/www/views.py b/airflow/www/views.py
index b4d7b544c1..22fd3a0679 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -3932,7 +3932,7 @@ class SlaMissModelView(AirflowModelView):
"map_index": wwwutils.format_map_index,
}
- @action('muldelete', 'Delete', "Are you sure you want to delete selected
records?", single=False)
+ @action("muldelete", "Delete", "Are you sure you want to delete selected
records?", single=False)
def action_muldelete(self, items):
"""Multiple delete action."""
self.datamodel.delete_all(items)
@@ -3986,8 +3986,8 @@ class SlaMissModelView(AirflowModelView):
session.commit()
flash(f"{count} SLAMisses had {attr} set to {new_value}.")
except Exception as ex:
- flash(str(ex), 'error')
- flash('Failed to set state', 'error')
+ flash(str(ex), "error")
+ flash("Failed to set state", "error")
self.update_redirect()
return redirect(self.get_default_url())