...
This commit is contained in:
parent
c4c62c1505
commit
402fac3edf
@ -200,7 +200,7 @@ def parse_patch(raw: str) -> Patch:
|
||||
else:
|
||||
if current_hunk is None:
|
||||
continue
|
||||
q = line[0]
|
||||
q = line[0] if line else ''
|
||||
if q == '+':
|
||||
current_hunk.add_line()
|
||||
elif q == '-':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user