summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8d9657e701..79d69589a6 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