Commit 277341ed authored by Denis Bilenko's avatar Denis Bilenko

pywsgi: make Input return list rather than iterator

parent f56721bb
......@@ -108,7 +108,7 @@ class Input(object):
return self._do_read(self.rfile.readline)
def readlines(self, hint=None):
return self.__iter__()
return list(self)
def __iter__(self):
while True:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment