[PATCH] Remove hardcoded CVS subdir in generic code
- From: Vincent Legoll <vincent legoll gmail com>
- To: meld-list gnome org
- Subject: [PATCH] Remove hardcoded CVS subdir in generic code
- Date: Tue, 3 Mar 2009 01:39:33 +0100
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]