From 8131d25e648367a7a0136595a61ada5f86807c13 Mon Sep 17 00:00:00 2001 From: qiaomin Date: Wed, 11 Jan 2017 15:20:42 +0800 Subject: [PATCH] Remove the redundant attributes DeleteInstance action inherits from tables.DeleteAction, So remove the unused attributes. Change-Id: I426820596c186cf216583014c6be0d57426fc10e --- trove_dashboard/content/databases/tables.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/trove_dashboard/content/databases/tables.py b/trove_dashboard/content/databases/tables.py index 34d4a6d8..6fef0944 100644 --- a/trove_dashboard/content/databases/tables.py +++ b/trove_dashboard/content/databases/tables.py @@ -55,10 +55,6 @@ class DeleteInstance(tables.DeleteAction): count ) - name = "delete" - classes = ("btn-danger", ) - icon = "remove" - def delete(self, request, obj_id): api.trove.instance_delete(request, obj_id)