Follow the convention of a "self" parameter for a method of a class

-- 
Vincent Legoll
Index: vc/cvs.py
===================================================================
--- vc/cvs.py	(révision 1153)
+++ vc/cvs.py	(copie de travail)
@@ -157,7 +157,7 @@
                                   "The error was '%s'") % (",".join(ignored), e))
         else:
             class dummy(object):
-                def match(*args): return None
+                def match(self, *args): return None
             ignore_re = dummy()
 
         for f,path in files:
_______________________________________________
meld-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/meld-list

Reply via email to