[PATCH] Remove hardcoded CVS subdir in generic code



And use the generic self.VC_DIR recently introduced to
avoid VC plugins to reference their own metadata directories

-- 
Vincent Legoll
Index: vc/_vc.py
===================================================================
--- vc/_vc.py	(révision 1192)
+++ vc/_vc.py	(copie de travail)
@@ -112,7 +112,7 @@
         pass
 
     def listdir_filter(self, entries):
-        return [f for f in entries if f[0]!="." and f!="CVS"]
+        return [f for f in entries if f[0] != "." and f != self.VC_DIR]
 
     def listdir(self, start):
         if start=="": start="."


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