meld r1221 - trunk/vc



Author: vincele
Date: Sat Mar  7 21:41:32 2009
New Revision: 1221
URL: http://svn.gnome.org/viewvc/meld?rev=1221&view=rev

Log:
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


Modified:
   trunk/vc/_vc.py

Modified: trunk/vc/_vc.py
==============================================================================
--- trunk/vc/_vc.py	(original)
+++ trunk/vc/_vc.py	Sat Mar  7 21:41:32 2009
@@ -109,7 +109,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]