summaryrefslogtreecommitdiff
path: root/wsgitools/middlewares.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2007-04-21 20:41:30 +0200
committerHelmut Grohne <helmut@subdivi.de>2007-04-21 20:41:30 +0200
commit92056d0256fa7ce364602f0c97496f492b61cd59 (patch)
tree951f9a66c2a3eb0577b8c55ce4052382c551827c /wsgitools/middlewares.py
parent529ab8f8d98ddf9f38b9c1fff8e6410dd8540b69 (diff)
downloadwsgitools-92056d0256fa7ce364602f0c97496f492b61cd59.tar.gz
fixed NoWriteCallableMiddleware with exc_info !
Diffstat (limited to 'wsgitools/middlewares.py')
-rw-r--r--wsgitools/middlewares.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/middlewares.py b/wsgitools/middlewares.py
index ff8120b..597c584 100644
--- a/wsgitools/middlewares.py
+++ b/wsgitools/middlewares.py
@@ -49,7 +49,7 @@ class NoWriteCallableMiddleware:
def modified_start_response(status, headers, exc_info=None):
if exc_info is not None:
todo.append(None)
- return start_response(status, headers)
+ return start_response(status, headers, exc_info)
else:
sio = StringIO.StringIO()
todo.append((status, headers, sio))