Skip to content

Commit

Permalink
🐛 fix list indexing in license_expression
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Jun 28, 2024
1 parent 970a95e commit c47cad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ozi/new/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def license_expression( # noqa: C901
None,
)
)
possible_spdx: Sequence[str] = _possible_spdx if _possible_spdx else []
possible_spdx: Sequence[str] = _possible_spdx if _possible_spdx else ['']
_default = possible_spdx[0]
for n, i in enumerate(output):
if i.startswith('--license-expression'):
Expand Down

0 comments on commit c47cad8

Please sign in to comment.