mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
use bare raise so you get the original tb
This commit is contained in:
parent
37c4728c64
commit
a006b8e468
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue