From 64371a085842e14602a478c6c5ff73ed54f24daf Mon Sep 17 00:00:00 2001 From: benoitc Date: Wed, 24 Oct 2012 14:01:04 +0200 Subject: [PATCH] s/raise/reraise --- gunicorn/http/wsgi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn/http/wsgi.py b/gunicorn/http/wsgi.py index 026a9c98..9981389f 100644 --- a/gunicorn/http/wsgi.py +++ b/gunicorn/http/wsgi.py @@ -8,7 +8,7 @@ import os import re import sys -from gunicorn.six import unquote, string_types, binary_type +from gunicorn.six import unquote, string_types, binary_type, reraise from gunicorn import SERVER_SOFTWARE import gunicorn.util as util @@ -195,7 +195,7 @@ class Response(object): if exc_info: try: if self.status and self.headers_sent: - raise exc_info[0], exc_info[1], exc_info[2] + reraise(exc_info[0], exc_info[1], exc_info[2]) finally: exc_info = None elif self.status is not None: