[Zope-Checkins] CVS: Zope/utilities - testrunner.py:1.23.2.2
Matthew T. Kromer
matt@zope.com
Fri, 22 Feb 2002 11:16:38 -0500
Update of /cvs-repository/Zope/utilities
In directory cvs.zope.org:/tmp/cvs-serv5613/utilities
Modified Files:
Tag: Zope-2_5-branch
testrunner.py
Log Message:
Remove tabs from files
=== Zope/utilities/testrunner.py 1.23.2.1 => 1.23.2.2 ===
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