summaryrefslogtreecommitdiff
path: root/paste/wsgilib.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-06-15 23:01:54 +0000
committerianb <devnull@localhost>2006-06-15 23:01:54 +0000
commitd5918b04c4cb4089c4f7e6628cdfb03c3a93861a (patch)
tree40fc2a7e47f3fc57112ff31582c8f090e078c290 /paste/wsgilib.py
parentd837060f858e5bd773236988877af422dacaf134 (diff)
downloadpaste-d5918b04c4cb4089c4f7e6628cdfb03c3a93861a.tar.gz
fixed docstring example
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 70b1bc4..1637db3 100644
--- a/paste/wsgilib.py
+++ b/paste/wsgilib.py
@@ -399,7 +399,7 @@ def intercept_output(environ, application, conditional=None,
def dehtmlifying_middleware(application):
def replacement_app(environ, start_response):
- status, headers, body = capture_output(
+ status, headers, body = intercept_output(
environ, application,
lambda s, h: header_value(headers, 'content-type').startswith('text/html'),
start_response)