summaryrefslogtreecommitdiff
path: root/paste/lint.py
diff options
context:
space:
mode:
authorpjenvey <devnull@localhost>2007-07-19 03:41:46 +0000
committerpjenvey <devnull@localhost>2007-07-19 03:41:46 +0000
commit0fa0e9c99ca5882c0eb58409723e0fc0a4893c1a (patch)
tree40d59ccbbc374c2498bde1e1def0ca42ae45a62e /paste/lint.py
parentb48669fbd0156ee8fed46262bb6406d885ad0568 (diff)
downloadpaste-0fa0e9c99ca5882c0eb58409723e0fc0a4893c1a.tar.gz
readline takes an optional length arg
Diffstat (limited to 'paste/lint.py')
-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