Commit ee139503 authored by Robert Bradshaw's avatar Robert Bradshaw

Py < 2.6 fix.

parent c90cecd4
......@@ -115,7 +115,7 @@ class NormalisedNewlineStream(object):
self.close = stream.close
self.encoding = getattr(stream, 'encoding', 'UTF-8')
def read(self, count):
def read(self, count=-1):
data = self._read(count)
if u'\r' not in data:
return data
......
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