Skip to content

Commit

Permalink
Merge pull request #14130 from RasmusWL/fixup-accept-ci-changes
Browse files Browse the repository at this point in the history
Misc: Fixup for `accept-expected-changes-from-ci.py`
  • Loading branch information
RasmusWL authored Sep 4, 2023
2 parents 284ca5e + 301133a commit a58c9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/scripts/accept-expected-changes-from-ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def make_patches_from_log_file(log_file_lines) -> List[Patch]:
while True:
next_line = parse_log_line(next(lines))
# it can be the case that
if next_line[0] in (" ", "-", "+", "@"):
if next_line and next_line[0] in (" ", "-", "+", "@"):
lines_changed.append(next_line)
if "FAILED" in next_line:
break
Expand Down

0 comments on commit a58c9e9

Please sign in to comment.