[Checkins] SVN: z3c.recipe.kgstest/trunk/src/z3c/recipe/kgstest/recipe.py make include work analog to exclude

Wolfgang Schnerring wosc at wosc.de
Wed Jan 28 03:16:55 EST 2009


Log message for revision 95278:
  make include work analog to exclude
  

Changed:
  U   z3c.recipe.kgstest/trunk/src/z3c/recipe/kgstest/recipe.py

-=-
Modified: z3c.recipe.kgstest/trunk/src/z3c/recipe/kgstest/recipe.py
===================================================================
--- z3c.recipe.kgstest/trunk/src/z3c/recipe/kgstest/recipe.py	2009-01-28 03:55:31 UTC (rev 95277)
+++ z3c.recipe.kgstest/trunk/src/z3c/recipe/kgstest/recipe.py	2009-01-28 08:16:54 UTC (rev 95278)
@@ -50,12 +50,15 @@
                 if re.compile(regex).search(project):
                     skip = True
                     break
+            for regex in self.include:
+                if re.compile(regex).search(project):
+                    skip = False
+                    break
             if skip:
                 continue
             parts = project.split('.')
             if parts[0] in ('zope', 'grokcore', ):
                 projects.append(project)
-        projects.extend(self.include)
         return projects
 
     def update(self):



More information about the Checkins mailing list