Skip to content

Commit

Permalink
🐛(ozi-new interactive): correct handling of list args
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdbcm committed Jun 27, 2024
1 parent fc0401e commit 862460d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ozi/new/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def requires_dist(
prefix.update(
{
f'Requires-Dist: {requirement}': (
f'Requires-Dist: {requirement}\n' if requirement else ''
f'Requires-Dist: {requirement}' if requirement else ''
),
},
)
Expand Down Expand Up @@ -931,7 +931,11 @@ def menu_loop(
'topic',
):
classifier = classifier_checkboxlist(x)
output += [f'--{x}="{classifier}"'] if classifier else []
output += (
[f'--{x}="{c}"' for c in classifier]
if classifier
else []
)
prefix.update(
(
{
Expand Down

0 comments on commit 862460d

Please sign in to comment.