statichttprepo: pass in True to splitlines, not 1
authorSiddharth Agarwal <sid0@fb.com>
Sun, 17 Nov 2013 13:28:11 -0800
changeset 20054 d0789ce427ac
parent 20053 2455e96ec73b
child 20055 6bb9de1e4d16
statichttprepo: pass in True to splitlines, not 1 splitlines actually takes a boolean.
mercurial/statichttprepo.py
--- a/mercurial/statichttprepo.py	Sat Nov 16 15:46:28 2013 -0500
+++ b/mercurial/statichttprepo.py	Sun Nov 17 13:28:11 2013 -0800
@@ -55,7 +55,7 @@
         self.pos += len(data)
         return data
     def __iter__(self):
-        return iter(self.read().splitlines(1))
+        return iter(self.read().splitlines(True))
     def close(self):
         pass