[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - include.py:1.3

Fred L. Drake, Jr. fred at zope.com
Fri Mar 12 15:56:54 EST 2004


Update of /cvs-repository/Packages/zpkgtools/zpkgtools
In directory cvs.zope.org:/tmp/cvs-serv31477

Modified Files:
	include.py 
Log Message:
re-use the name filtering now that it actually does some work


=== Packages/zpkgtools/zpkgtools/include.py 1.2 => 1.3 ===
--- Packages/zpkgtools/zpkgtools/include.py:1.2	Fri Mar 12 13:53:34 2004
+++ Packages/zpkgtools/zpkgtools/include.py	Fri Mar 12 15:56:53 2004
@@ -124,8 +124,7 @@
                 self.includes[dest] = src
 
     def glob(self, pattern):
-        return [n for n in glob.glob(pattern)
-                if os.path.basename(n) not in EXCLUDE_NAMES]
+        return self.filterNames(glob.glob(pattern))
 
     def filterNames(self, names):
         names = [n for n in names




More information about the Zope-CVS mailing list