Skip to content

Commit

Permalink
Please codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
xrmx committed Apr 22, 2017
1 parent e0dcfcb commit 4a13f69
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion superset/views/base.py
Expand Up @@ -179,7 +179,12 @@ def validate_json(form, field): # noqa

class DeleteMixin(object):
@action(
"muldelete", __("Delete"), __("Delete all Really?"), "fa-trash", single=False)
"muldelete",
__("Delete"),
__("Delete all Really?"),
"fa-trash",
single=False
)
def muldelete(self, items):
self.datamodel.delete_all(items)
self.update_redirect()
Expand Down

0 comments on commit 4a13f69

Please sign in to comment.