summaryrefslogtreecommitdiff
path: root/paste/wsgilib.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-08-18 21:54:20 +0000
committerianb <devnull@localhost>2005-08-18 21:54:20 +0000
commitd864db46f279fd0c3de24e7afb2ca13ac858434c (patch)
treead85991d4ecdc3f2589319443e4cc8ad523399e6 /paste/wsgilib.py
parenta8be66ca70850ef038134685aa7568ae3816ae30 (diff)
downloadpaste-d864db46f279fd0c3de24e7afb2ca13ac858434c.tar.gz
Fix capture_output's write() callable
Diffstat (limited to 'paste/wsgilib.py')
-rw-r--r--paste/wsgilib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/wsgilib.py b/paste/wsgilib.py
index 7b0091d..b261477 100644
--- a/paste/wsgilib.py
+++ b/paste/wsgilib.py
@@ -424,7 +424,7 @@ def capture_output(environ, start_response, application):
data.append(status)
data.append(headers)
start_response(status, headers, exc_info)
- return output
+ return output.write
app_iter = application(environ, replacement_start_response)
try:
for item in app_iter: