diff options
Diffstat (limited to 'paste')
| -rwxr-xr-x | paste/httpserver.py | 4 | ||||
| -rw-r--r-- | paste/wsgiwrappers.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/paste/httpserver.py b/paste/httpserver.py index 7d72f60..a5aa664 100755 --- a/paste/httpserver.py +++ b/paste/httpserver.py @@ -411,10 +411,10 @@ class LimitedLengthFile(object): self._consumed += len(data) return data - def readline(self): + def readline(self, *args): # @@: I can't see any way to keep this from reading past the end # except to implement readline and a buffer privately - data = self.file.readline() + data = self.file.readline(*args) self._consumed += len(data) return data diff --git a/paste/wsgiwrappers.py b/paste/wsgiwrappers.py index fbf41c3..b94107c 100644 --- a/paste/wsgiwrappers.py +++ b/paste/wsgiwrappers.py @@ -297,7 +297,7 @@ class WSGIResponse(object): + '\n\n' + content def __call__(self, environ, start_response): - """Conveinence call to return output and set status information + """Convenience call to return output and set status information Conforms to the WSGI interface for calling purposes only. |
