Commit ae787185 authored by Just van Rossum's avatar Just van Rossum

minor tweak (jvr)

parent 73efed21
...@@ -21,7 +21,7 @@ class TraceBack: ...@@ -21,7 +21,7 @@ class TraceBack:
try: try:
self.lastwindowtitle = lastwindowtitle self.lastwindowtitle = lastwindowtitle
self.start = start 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: if self.type is not SyntaxError:
self.show() self.show()
if type(self.type) == types.ClassType: if type(self.type) == types.ClassType:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment