]> granicus.if.org Git - python/commitdiff
minor tweak (jvr)
authorJust van Rossum <just@lettererror.com>
Sun, 9 Apr 2000 19:45:38 +0000 (19:45 +0000)
committerJust van Rossum <just@lettererror.com>
Sun, 9 Apr 2000 19:45:38 +0000 (19:45 +0000)
Mac/Tools/IDE/Wtraceback.py

index 1d7b7bafea862d7079b4a2151f747e6b66656f1f..9b54b175e3639330b7c37656a9ec3602ed10dcea 100644 (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: