##// END OF EJS Templates
cffi: adjust the list returned by bdiff.blocks to never have a None entry...
Matt Harbison -
r50492:b2666e76 default
parent child Browse files
Show More
@@ -29,7 +29,7 b' def blocks(sa, sb):'
29 count = lib.bdiff_diff(a[0], an, b[0], bn, l)
29 count = lib.bdiff_diff(a[0], an, b[0], bn, l)
30 if count < 0:
30 if count < 0:
31 raise MemoryError
31 raise MemoryError
32 rl = [None] * count
32 rl = [(0, 0, 0, 0)] * count
33 h = l.next
33 h = l.next
34 i = 0
34 i = 0
35 while h:
35 while h:
General Comments 0
You need to be logged in to leave comments. Login now