##// END OF EJS Templates
pure: guard against empty blocks...
Gregory Szorc -
r46467:68aedad4 default
parent child Browse files
Show More
@@ -51,7 +51,10 b' def _normalizeblocks(a, b, blocks):'
51 shift += 1
51 shift += 1
52 r.append((a1, b1, l1 + shift))
52 r.append((a1, b1, l1 + shift))
53 prev = a2 + shift, b2 + shift, l2 - shift
53 prev = a2 + shift, b2 + shift, l2 - shift
54 r.append(prev)
54
55 if prev is not None:
56 r.append(prev)
57
55 return r
58 return r
56
59
57
60
General Comments 0
You need to be logged in to leave comments. Login now