[PATCH] remove "." subdirectory prefix handling special-case



Some VC I tested are capable of handling directories which
names start with a dot, so remove the special case.

-- 
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 != "CVS"]
 
     def listdir(self, start):
         if start=="": start="."


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