...
This commit is contained in:
parent
c4c62c1505
commit
402fac3edf
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue