Remove the redundant codes

DeleteInstance action inherits from tables.DeleteAction,
the tables.DeleteAction has already define some attributes.
So this patch remove the repeated attributes.

Change-Id: I7cab3cf609b75e483d5507af113501aa957436c5
This commit is contained in:
qiaomin 2017-02-07 22:54:52 +08:00
parent 308b8c4d67
commit f7165967b5

View File

@ -21,9 +21,6 @@ import disaster_recovery.api.api as freezer_api
class DeleteAction(tables.DeleteAction):
name = "delete"
classes = ("btn-danger",)
icon = "remove"
help_text = _("Delete actions is not recoverable.")
@staticmethod