summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJust van Rossum <just@lettererror.com>2000-04-09 19:45:38 (GMT)
committerJust van Rossum <just@lettererror.com>2000-04-09 19:45:38 (GMT)
commitae787185dfc2a1eed55a741c15a2a07182d5ac14 (patch)
tree7e6595ebf5098dd81292224bab2fae77555ec7ef /Mac
parent73efed21e8b6b30df08dfddd5078ce3689ef8bb1 (diff)
downloadcpython-ae787185dfc2a1eed55a741c15a2a07182d5ac14.zip
cpython-ae787185dfc2a1eed55a741c15a2a07182d5ac14.tar.gz
cpython-ae787185dfc2a1eed55a741c15a2a07182d5ac14.tar.bz2
minor tweak (jvr)
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Tools/IDE/Wtraceback.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/Wtraceback.py b/Mac/Tools/IDE/Wtraceback.py
index 1d7b7ba..9b54b17 100644
--- a/Mac/Tools/IDE/Wtraceback.py
+++ b/Mac/Tools/IDE/Wtraceback.py
@@ -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: