[Zope-CVS] SVN: Zelenium/trunk/zuite.py - ignore empty lines in
manifests, they were causing infinite recursion errors.
Chris Withers
chris at simplistix.co.uk
Mon Dec 19 05:11:07 EST 2005
Log message for revision 40884:
- ignore empty lines in manifests, they were causing infinite recursion errors.
Changed:
U Zelenium/trunk/zuite.py
-=-
Modified: Zelenium/trunk/zuite.py
===================================================================
--- Zelenium/trunk/zuite.py 2005-12-19 07:29:14 UTC (rev 40883)
+++ Zelenium/trunk/zuite.py 2005-12-19 10:11:07 UTC (rev 40884)
@@ -408,7 +408,7 @@
manifest = os.path.join( path, self.testsuite_name or '.objects' )
if os.path.isfile( manifest ):
- filenames = [ x.strip() for x in open( manifest ).readlines() ]
+ filenames = filter(None,[ x.strip() for x in open( manifest ).readlines() ])
elif self.filename_glob:
globbed = glob.glob( os.path.join( path, self.filename_glob ) )
More information about the Zope-CVS
mailing list