diff mbox

[3/4] gui: delete overridden definition of usersPage.delete()

Message ID 20171001161517.16407-3-nicolas.iooss@m4x.org (mailing list archive)
State Superseded
Headers show

Commit Message

Nicolas Iooss Oct. 1, 2017, 4:15 p.m. UTC
Function delete() is defined twice in class usersPage and the first one
invoke semanagePage.delete(), which does not exist.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
---
 gui/usersPage.py | 4 ----
 1 file changed, 4 deletions(-)
diff mbox

Patch

diff --git a/gui/usersPage.py b/gui/usersPage.py
index 9d09bda2171f..26794ed5c3f3 100644
--- a/gui/usersPage.py
+++ b/gui/usersPage.py
@@ -91,10 +91,6 @@  class usersPage(semanagePage):
             self.store.set_value(iter, 2, dict[k][3])
         self.view.get_selection().select_path((0,))
 
-    def delete(self):
-        if semanagePage.delete(self) == Gtk.ResponseType.NO:
-            return None
-
     def dialogInit(self):
         store, iter = self.view.get_selection().get_selected()
         self.selinuxUserEntry.set_text(store.get_value(iter, 0))