# HG changeset patch # User Siddharth Agarwal # Date 1384723691 28800 # Node ID d0789ce427ac2eee59d6430904f1f62d3bb88d0a # Parent 2455e96ec73b24c6fd9bd665b2ea4083a480d5e9 statichttprepo: pass in True to splitlines, not 1 splitlines actually takes a boolean. diff -r 2455e96ec73b -r d0789ce427ac 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