Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix quotes resulting from merging cross-commit #27662

Merged
merged 1 commit into from
Nov 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions airflow/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -3986,8 +3986,8 @@ def _set_notification_property(self, items: list[SlaMiss], attr: str, new_value:
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())

Expand Down