Pylint does not see through our dynamic class instantiation.
And super() is more robust against future code change as
we don't need to know the real class that is the parent.

-- 
Vincent Legoll
Index: meldapp.py
===================================================================
--- meldapp.py	(revision 1323)
+++ meldapp.py	(working copy)
@@ -434,7 +434,7 @@
     }
 
     def __init__(self):
-        prefs.Preferences.__init__(self, "/apps/meld", self.defaults)
+        super(MeldPreferences, self).__init__("/apps/meld", self.defaults)
 
     def get_current_font(self):
         if self.use_custom_font:
_______________________________________________
meld-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/meld-list

Reply via email to