minor tweak (jvr)

This commit is contained in:
Just van Rossum 2000-04-09 19:45:38 +00:00
parent 73efed21e8
commit ae787185df
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class TraceBack:
try:
self.lastwindowtitle = lastwindowtitle
self.start = start
self.type, self.value, self.tb = sys.exc_type, sys.exc_value, sys.exc_traceback
self.type, self.value, self.tb = sys.exc_info()
if self.type is not SyntaxError:
self.show()
if type(self.type) == types.ClassType: