From a006b8e4684eb9c6add60c8c9cd8299f8f821975 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Wed, 26 Feb 2003 15:28:17 +0000 Subject: use bare raise so you get the original tb --- Lib/plat-mac/aetools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/plat-mac/aetools.py b/Lib/plat-mac/aetools.py index 8d9657e..79d6958 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 -- cgit v0.12