[PATCH] add missing "self" param



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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]