summaryrefslogtreecommitdiff
path: root/paste/wsgilib.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-02-28 20:29:52 +0000
committerianb <devnull@localhost>2006-02-28 20:29:52 +0000
commitb48e1693e68bda883342b13871a0870aa4bf9509 (patch)
treefe3328c4f928f5fc2c848bbf964b08808ab27075 /paste/wsgilib.py
parent7a97d609a29051be71db1e746b7ccb773f50addf (diff)
downloadpaste-b48e1693e68bda883342b13871a0870aa4bf9509.tar.gz
Stupid typos from last commit
Diffstat (limited to 'paste/wsgilib.py')
-rw-r--r--paste/wsgilib.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/paste/wsgilib.py b/paste/wsgilib.py
index a7932a3..bbe20fd 100644
--- a/paste/wsgilib.py
+++ b/paste/wsgilib.py
@@ -166,7 +166,7 @@ def raw_interactive(application, path='', raise_on_wsgi_error=False,
Runs the application in a fake environment.
"""
assert "path_info" not in environ, "argument list changed"
- if raise_on_wsgi_errors:
+ if raise_on_wsgi_error:
errors = ErrorRaiser()
else:
errors = StringIO()
@@ -258,6 +258,9 @@ class ErrorRaiser(object):
raise AssertionError(
"No errors should be written (got lines: %s)" % list(seq))
+ def getvalue(self):
+ return ''
+
def interactive(*args, **kw):
"""
Runs the application interatively, wrapping `raw_interactive` but