SVN: Zelenium/trunk/zuite.py - ignore empty lines in manifests, they were causing infinite recursion errors.
Chris Withers <[email protected]> Mon, 19 Dec 2005 05:11:07 -0500 (EST)
| Newsgroups | gmane.comp.web.zope.public-cvs |
|---|---|
| Message-ID | <[email protected]> |
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 - [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs
Zope CVS instructions: http://dev.zope.org/CVS