mercurial/pure/bdiff.py
changeset 34435 5326e4ef1dab
parent 32512 0e8b0b9a7acc
child 36146 29dd37a418aa
--- a/mercurial/pure/bdiff.py	Mon Oct 02 18:18:57 2017 +0100
+++ b/mercurial/pure/bdiff.py	Fri Sep 29 15:49:20 2017 +0000
@@ -60,7 +60,8 @@
 
     bin = []
     p = [0]
-    for i in a: p.append(p[-1] + len(i))
+    for i in a:
+        p.append(p[-1] + len(i))
 
     d = difflib.SequenceMatcher(None, a, b).get_matching_blocks()
     d = _normalizeblocks(a, b, d)