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 ) )
_______________________________________________
Zope-CVS maillist - Zope-CVS@zope.org
http://mail.zope.org/mailman/listinfo/zope-cvs
Zope CVS instructions: http://dev.zope.org/CVS
- 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 ) )
_______________________________________________
Zope-CVS maillist - Zope-CVS@zope.org
http://mail.zope.org/mailman/listinfo/zope-cvs
Zope CVS instructions: http://dev.zope.org/CVS