summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2003-02-26 15:28:17 (GMT)
committerJust van Rossum <just@letterror.com>2003-02-26 15:28:17 (GMT)
commita006b8e4684eb9c6add60c8c9cd8299f8f821975 (patch)
tree227f1d9347656ee941596fa5d4de0eee86edd768 /Lib/plat-mac
parent37c4728c642b8baefc956e7f93ed678521877800 (diff)
downloadcpython-a006b8e4684eb9c6add60c8c9cd8299f8f821975.zip
cpython-a006b8e4684eb9c6add60c8c9cd8299f8f821975.tar.gz
cpython-a006b8e4684eb9c6add60c8c9cd8299f8f821975.tar.bz2
use bare raise so you get the original tb
Diffstat (limited to 'Lib/plat-mac')
-rw-r--r--Lib/plat-mac/aetools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/aetools.py b/Lib/plat-mac/aetools.py
index 8d9657e..79d6958 100644
--- a/Lib/plat-mac/aetools.py
+++ b/Lib/plat-mac/aetools.py
@@ -83,7 +83,7 @@ def unpackevent(ae, formodulename=""):
desc = ae.AEGetAttributeDesc(key, '****')
except (AE.Error, MacOS.Error), msg:
if msg[0] != -1701 and msg[0] != -1704:
- raise sys.exc_type, sys.exc_value
+ raise
continue
attributes[key] = unpack(desc, formodulename)
return parameters, attributes