Tweaked coverage_changes command. I suspect this would benefit from a rewrite.
- Legacy-Id: 16019
This commit is contained in:
parent
9a96018b89
commit
fc18cd93d4
|
@ -146,9 +146,9 @@ class Command(BaseCommand):
|
|||
p = -1
|
||||
n = 0
|
||||
for line in ndiff(mmisslines, lmisslines):
|
||||
if ln < len(lmissnum):
|
||||
if ln < len(lmissnum):
|
||||
n = lmissnum[ln]
|
||||
else:
|
||||
elif mn < len(mmissnum):
|
||||
n = mmissnum[mn]
|
||||
prefix, text = line[:1], line[2:]
|
||||
if mn<len(mmisslines) and text == mmisslines[mn]:
|
||||
|
|
Loading…
Reference in a new issue