[Zope-Checkins] CVS: Zope/utilities - testrunner.py:1.26
Martijn Pieters
mj@zope.com
Wed, 14 Aug 2002 15:59:19 -0400
Update of /cvs-repository/Zope/utilities
In directory cvs.zope.org:/tmp/cvs-serv22198/utilities
Modified Files:
testrunner.py
Log Message:
Remove more tabs (python -tt is your friend).
=== Zope/utilities/testrunner.py 1.25 => 1.26 ===
--- Zope/utilities/testrunner.py:1.25 Tue May 7 18:18:16 2002
+++ Zope/utilities/testrunner.py Wed Aug 14 15:59:18 2002
@@ -56,14 +56,14 @@
module = None
try:
sys.path.append(path) # let module find things in its dir
- try:
- module=imp.load_module(name, file, pathname, desc)
- except:
- (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(string.join(traceback.format_tb(tb_tb)) + '\n')
- del tb_tb
+ try:
+ module=imp.load_module(name, file, pathname, desc)
+ except:
+ (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(string.join(traceback.format_tb(tb_tb)) + '\n')
+ del tb_tb
finally:
file.close()
sys.path.pop() # Remove module level path