summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Bicking <ian@ianbicking.org>2006-05-07 04:18:30 +0000
committerIan Bicking <ian@ianbicking.org>2006-05-07 04:18:30 +0000
commitc4cb940887dd7dc4d7732baa194d85dc75c8af2c (patch)
treeed8b7e06d5b9afebd9cebf435b3440836e596d8f
parent1c8329db6d9a1c9c828134cf63ee7cb7bb153b34 (diff)
downloadpaste-git-0.9.1.tar.gz
fix for example in docstring0.9.1
-rw-r--r--paste/wsgilib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/wsgilib.py b/paste/wsgilib.py
index 5f1ec1a..d83799a 100644
--- a/paste/wsgilib.py
+++ b/paste/wsgilib.py
@@ -370,7 +370,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)
content_type = header_value(headers, 'content-type')
if (not content_type