Fixed a bug in coverage_changes.
- Legacy-Id: 14037
This commit is contained in:
parent
87cd50e1d8
commit
aaccbba6e8
|
@ -145,7 +145,10 @@ class Command(BaseCommand):
|
|||
p = -1
|
||||
n = 0
|
||||
for line in ndiff(mmisslines, lmisslines):
|
||||
n = lmissnum[ln]
|
||||
if ln < len(lmissnum):
|
||||
n = lmissnum[ln]
|
||||
else:
|
||||
n = mmissnum[mn]
|
||||
prefix, text = line[:1], line[2:]
|
||||
if mn<len(mmisslines) and text == mmisslines[mn]:
|
||||
mn += 1
|
||||
|
|
Loading…
Reference in a new issue