Commit a006b8e4 authored by Just van Rossum's avatar Just van Rossum

use bare raise so you get the original tb

parent 37c4728c
...@@ -83,7 +83,7 @@ def unpackevent(ae, formodulename=""): ...@@ -83,7 +83,7 @@ def unpackevent(ae, formodulename=""):
desc = ae.AEGetAttributeDesc(key, '****') desc = ae.AEGetAttributeDesc(key, '****')
except (AE.Error, MacOS.Error), msg: except (AE.Error, MacOS.Error), msg:
if msg[0] != -1701 and msg[0] != -1704: if msg[0] != -1701 and msg[0] != -1704:
raise sys.exc_type, sys.exc_value raise
continue continue
attributes[key] = unpack(desc, formodulename) attributes[key] = unpack(desc, formodulename)
return parameters, attributes return parameters, attributes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment