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

@ -191,7 +191,8 @@ def browse_menu(selector, host, port):
try:
browserfunc(i_selector, i_host, i_port)
except (IOError, socket.error):
print '***', sys.exc_type, ':', sys.exc_value
t, v, tb = sys.exc_info()
print '***', t, ':', v
else:
print 'Unsupported object type'