summaryrefslogtreecommitdiff
path: root/paste/modpython.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/modpython.py')
-rw-r--r--paste/modpython.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/paste/modpython.py b/paste/modpython.py
index a3fef55..692a94f 100644
--- a/paste/modpython.py
+++ b/paste/modpython.py
@@ -49,6 +49,7 @@ This module highly based on Robert Brewer's, here:
http://projects.amor.org/misc/svn/modpython_gateway.py
"""
+import six
import traceback
try:
@@ -176,7 +177,7 @@ class Handler(object):
if exc_info:
try:
if self.started:
- raise exc_info[0], exc_info[1], exc_info[2]
+ six.reraise(exc_info[0], exc_info[1], exc_info[2])
finally:
exc_info = None