Skip to content

Commit

Permalink
Change to inline
Browse files Browse the repository at this point in the history
Co-authored-by: Kenneth Hoste <[email protected]>
  • Loading branch information
Crivella and boegel authored Oct 4, 2024
1 parent 72e2176 commit 201aba6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions easybuild/tools/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -2016,8 +2016,7 @@ def opts_dict_to_eb_opts(args_dict):
if str(arg) in allow_multiple_calls:
if not isinstance(value, (list, tuple)):
value = [value]
for v in value:
args.append(option + '=' + str(v))
args.extend(option + '=' + str(x) for x in value)
elif value in [True, None]:
args.append(option)
elif value is False:
Expand Down

0 comments on commit 201aba6

Please sign in to comment.