Skip to content

Commit

Permalink
Skip to next iteration after flag without '=' is parsed (#717)
Browse files Browse the repository at this point in the history
Otherwise, the flag is also being parsed as one that contains '=' and
this raises an exception.
  • Loading branch information
papadokolos authored Dec 8, 2020
1 parent 0a582d0 commit 42e2ed6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/settings/settings_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ def expand_paths_in_flags_if_needed(flags):
for flag in flags:
if '=' not in flag:
new_flags.append(flag)
continue
split_flag = flag.split('=')
prefix = split_flag[0].strip()
value = split_flag[1].strip()
Expand Down

0 comments on commit 42e2ed6

Please sign in to comment.