Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae78718

Browse files
author
Just van Rossum
committed
minor tweak (jvr)
1 parent 73efed2 commit ae78718

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mac/Tools/IDE/Wtraceback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def traceback(self, start = 0, lastwindowtitle = ""):
2121
try:
2222
self.lastwindowtitle = lastwindowtitle
2323
self.start = start
24-
self.type, self.value, self.tb = sys.exc_type, sys.exc_value, sys.exc_traceback
24+
self.type, self.value, self.tb = sys.exc_info()
2525
if self.type is not SyntaxError:
2626
self.show()
2727
if type(self.type) == types.ClassType:

0 commit comments

Comments
 (0)