[Checkins] SVN: z3c.recipe.tag/trunk/ Skip nonexistent sys.path directories to avoid ctags warnings.

Marius Gedminas marius at pov.lt
Wed Jan 11 16:34:19 UTC 2012


Log message for revision 124026:
  Skip nonexistent sys.path directories to avoid ctags warnings.
  
  

Changed:
  U   z3c.recipe.tag/trunk/CHANGES.txt
  U   z3c.recipe.tag/trunk/src/z3c/recipe/tag/__init__.py

-=-
Modified: z3c.recipe.tag/trunk/CHANGES.txt
===================================================================
--- z3c.recipe.tag/trunk/CHANGES.txt	2012-01-11 00:12:14 UTC (rev 124025)
+++ z3c.recipe.tag/trunk/CHANGES.txt	2012-01-11 16:34:18 UTC (rev 124026)
@@ -5,8 +5,9 @@
 0.4.1 (unreleased)
 ------------------
 
-(no changes)
+* Skip nonexistent sys.path directories to avoid ctags warnings.
 
+
 0.4.0 (2010-08-29)
 ------------------
 

Modified: z3c.recipe.tag/trunk/src/z3c/recipe/tag/__init__.py
===================================================================
--- z3c.recipe.tag/trunk/src/z3c/recipe/tag/__init__.py	2012-01-11 00:12:14 UTC (rev 124025)
+++ z3c.recipe.tag/trunk/src/z3c/recipe/tag/__init__.py	2012-01-11 16:34:18 UTC (rev 124026)
@@ -94,7 +94,7 @@
 class Builder:
     def __init__(self):
         self.paths = [path for path in sys.path
-                      if not path.endswith('.zip')]
+                      if os.path.isdir(path)]
 
     def __call__(self, targets=None, languages=None):
         if not targets:



More information about the checkins mailing list