summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpjenvey <pjenvey@localhost>2007-07-19 03:41:46 +0000
committerpjenvey <pjenvey@localhost>2007-07-19 03:41:46 +0000
commita59b06e50cd4c7c66285c09800a0628e7da4d384 (patch)
tree40d59ccbbc374c2498bde1e1def0ca42ae45a62e
parentf526371ef4317761f3fbeac7303b614f26e046bc (diff)
downloadpaste-git-a59b06e50cd4c7c66285c09800a0628e7da4d384.tar.gz
readline takes an optional length arg
-rw-r--r--paste/lint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/lint.py b/paste/lint.py
index cb97121..6ed591b 100644
--- a/paste/lint.py
+++ b/paste/lint.py
@@ -188,8 +188,8 @@ class InputWrapper(object):
assert type(v) is type("")
return v
- def readline(self):
- v = self.input.readline()
+ def readline(self, *args):
+ v = self.input.readline(*args)
assert type(v) is type("")
return v