diff options
author | ianb <devnull@localhost> | 2005-05-14 22:40:47 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2005-05-14 22:40:47 +0000 |
commit | 2d9df0c6e85a20f434778510d10c7fb4c8eb5265 (patch) | |
tree | be0f40e68db3ea0267af25b85813f6747c8df809 /paste/recursive.py | |
parent | a7cb65cf7a1b594e8cf35472b6bfe4bda19330cf (diff) | |
download | paste-2d9df0c6e85a20f434778510d10c7fb4c8eb5265.tar.gz |
Added start_response exc_info argument
Diffstat (limited to 'paste/recursive.py')
-rw-r--r-- | paste/recursive.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/paste/recursive.py b/paste/recursive.py index 5974991..5c370b8 100644 --- a/paste/recursive.py +++ b/paste/recursive.py @@ -74,7 +74,9 @@ class Includer(Recursive): def activate(self, environ): environ['wsgi.errors'].write('Including %r\n' % (environ['SCRIPT_NAME'] + environ['PATH_INFO'])) response = IncludedResponse - def start_response(status, headers): + def start_response(status, headers, exc_info=None): + if exc_info: + raise exc_info[0], exc_info[1], exc_info[2] response.status = status response.headers = headers return response.write |