mercurial/hgweb/webcommands.py
changeset 9136 31177742f54a
parent 8842 acd03a6e2426
child 9198 061eeb602354
--- a/mercurial/hgweb/webcommands.py	Tue Jul 14 20:24:16 2009 +0200
+++ b/mercurial/hgweb/webcommands.py	Mon Jul 13 09:50:26 2009 +0900
@@ -65,7 +65,7 @@
         text = '(binary:%s)' % mt
 
     def lines():
-        for lineno, t in enumerate(text.splitlines(1)):
+        for lineno, t in enumerate(text.splitlines(True)):
             yield {"line": t,
                    "lineid": "l%d" % (lineno + 1),
                    "linenumber": "% 6d" % (lineno + 1),