summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paste/deploy/compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/deploy/compat.py b/paste/deploy/compat.py
index bd2063f..05047db 100644
--- a/paste/deploy/compat.py
+++ b/paste/deploy/compat.py
@@ -29,4 +29,4 @@ else:
dictkeys = lambda d: list(d.keys())
def reraise(t, e, tb):
- exec('raise e from tb', dict(e=e, tb=tb))
+ raise e.with_traceback(tb)