changeset 20054:d0789ce427ac

statichttprepo: pass in True to splitlines, not 1 splitlines actually takes a boolean.
author Siddharth Agarwal <sid0@fb.com>
date Sun, 17 Nov 2013 13:28:11 -0800
parents 2455e96ec73b
children 6bb9de1e4d16
files mercurial/statichttprepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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