use bare raise so you get the original tb

This commit is contained in:
Just van Rossum 2003-02-26 15:28:17 +00:00
parent 37c4728c64
commit a006b8e468

View file

@ -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