[svn r37287] don't eat exception, simply use finally

--HG--
branch : trunk
This commit is contained in:
hpk 2007-01-24 18:48:13 +01:00
parent fc740689d7
commit 0fcaebd17c
1 changed files with 6 additions and 7 deletions

View File

@ -41,14 +41,13 @@ class Session(object):
colitems = self.config.getcolitems()
try:
self.header(colitems)
try:
try:
for colitem in colitems:
self.runtraced(colitem)
except KeyboardInterrupt:
raise
except:
self.footer(colitems)
else:
finally:
self.footer(colitems)
except Exit, ex:
pass