Don't let View call methods on its superclass (object).
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 3 Nov 2009 08:37:45 +0000 (09:37 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 3 Nov 2009 08:37:45 +0000 (09:37 +0100)
src/gui/gui.py

index 33f8973fa8ddaafaa9b6f1cac3d8161d901018b3..aadffa50c2da1041989c581cdeba7b9f215ef902 100644 (file)
@@ -137,14 +137,13 @@ class View(object):
     def exit(self):
         self.exit_flag = True
         self.lock.signal()
-        super(View, self).exit()
 
     def refresh(self):
         """
         Update the gui after a change in model or some user interaction.
         Should be filled by subclasses.
         """
-        super(View, self).refresh()
+        pass
 
     def get_menu_entries(self):
         """ Returns a list of menu entries to display. Will be