Skip to content

Commit

Permalink
Fix type mismatch
Browse files Browse the repository at this point in the history
current_patch is modified in the called as an array so make sure it is
created as one.

Signed-off-by: William Douglas <[email protected]>
  • Loading branch information
bryteise committed Aug 1, 2024
1 parent f35655a commit d48e422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autospec/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _process_build_log(filename):
lines = lfile.readlines()

prev_line = ''
current_patch = ''
current_patch = ['']
reported_patches = {}
error = False
for line in lines:
Expand Down

0 comments on commit d48e422

Please sign in to comment.