[Zope-Checkins] CVS: Zope/utilities - testrunner.py:1.22

Chris McDonough chrism@zope.com
Mon, 26 Nov 2001 15:39:27 -0500


Update of /cvs-repository/Zope/utilities
In directory cvs.zope.org:/tmp/cvs-serv15978

Modified Files:
	testrunner.py 
Log Message:
Fix minor error in getSuiteFromFile where the name "join" could not be found.


=== Zope/utilities/testrunner.py 1.21 => 1.22 ===
         file, pathname, desc=imp.find_module(name, [path])
         saved_syspath = sys.path[:]
+        module = None
         try:
             sys.path.append(path)       # let module find things in its dir
 	    try:
@@ -61,7 +62,7 @@
 	    	(tb_t, tb_v, tb_tb) = sys.exc_info()
 		self.report("Module %s failed to load\n%s: %s" % (pathname,
 			tb_t, tb_v))
-		self.report(join( traceback.format_tb(tb_tb)) + '\n')
+		self.report(string.join(traceback.format_tb(tb_tb)) + '\n')
 		del tb_tb
         finally:
             file.close()