Remove sys.exc_type, sys.exc_value, sys.exc_traceback

This commit is contained in:
Neal Norwitz 2006-03-17 05:49:33 +00:00
parent fc85c92a85
commit ac3625fcb9
16 changed files with 36 additions and 58 deletions

View file

@ -45,8 +45,8 @@ class WindowList:
try:
callback()
except:
print "warning: callback failed in WindowList", \
sys.exc_type, ":", sys.exc_value
t, v, tb = sys.exc_info()
print "warning: callback failed in WindowList", t, ":", v
registry = WindowList()