Show More
@@ -69,7 +69,7 b' def testhunk(a, b, bstart):' | |||||
69 | """ |
|
69 | """ | |
70 | alen = len(a) |
|
70 | alen = len(a) | |
71 | blen = len(b) |
|
71 | blen = len(b) | |
72 | if alen > blen - bstart: |
|
72 | if alen > blen - bstart or bstart < 0: | |
73 | return False |
|
73 | return False | |
74 | for i in xrange(alen): |
|
74 | for i in xrange(alen): | |
75 | if a[i][1:] != b[i + bstart]: |
|
75 | if a[i][1:] != b[i + bstart]: |
General Comments 0
You need to be logged in to leave comments.
Login now