[svn r37287] don't eat exception, simply use finally
--HG-- branch : trunk
This commit is contained in:
parent
fc740689d7
commit
0fcaebd17c
|
@ -42,13 +42,12 @@ class Session(object):
|
||||||
try:
|
try:
|
||||||
self.header(colitems)
|
self.header(colitems)
|
||||||
try:
|
try:
|
||||||
for colitem in colitems:
|
try:
|
||||||
self.runtraced(colitem)
|
for colitem in colitems:
|
||||||
except KeyboardInterrupt:
|
self.runtraced(colitem)
|
||||||
raise
|
except KeyboardInterrupt:
|
||||||
except:
|
raise
|
||||||
self.footer(colitems)
|
finally:
|
||||||
else:
|
|
||||||
self.footer(colitems)
|
self.footer(colitems)
|
||||||
except Exit, ex:
|
except Exit, ex:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue