[Zope-Checkins] SVN: Zope/trunk/test.py Collector #1895: omit 'var'
folder from recursive traversal causing trouble
Andreas Jung
andreas at andreas-jung.com
Sun Oct 2 06:29:16 EDT 2005
Log message for revision 38713:
Collector #1895: omit 'var' folder from recursive traversal causing trouble
with DirectoryStorage
Changed:
U Zope/trunk/test.py
-=-
Modified: Zope/trunk/test.py
===================================================================
--- Zope/trunk/test.py 2005-10-02 10:28:54 UTC (rev 38712)
+++ Zope/trunk/test.py 2005-10-02 10:29:15 UTC (rev 38713)
@@ -619,7 +619,7 @@
except os.error:
return
visit(arg, path, names)
- exceptions = (os.curdir, os.pardir)
+ exceptions = (os.curdir, os.pardir, 'var')
for name in names:
if name not in exceptions:
name = os.path.join(path, name)
More information about the Zope-Checkins
mailing list