From: Just van Rossum Date: Wed, 26 Feb 2003 15:28:17 +0000 (+0000) Subject: use bare raise so you get the original tb X-Git-Tag: v2.3c1~1676 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a006b8e4684eb9c6add60c8c9cd8299f8f821975;p=python use bare raise so you get the original tb --- 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