Skip to content

Commit

Permalink
🐛(ozi-fix interactive): fix argument outputs
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Jun 29, 2024
1 parent 9569440 commit 2bfd894
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ozi/new/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,8 @@ def menu_loop(
):
classifier = classifier_checkboxlist(x)
if classifier:
output.update({f'--{x}': classifier})
for i in classifier:
output[f'--{x}'].append(i)
prefix.update(
(
{
Expand Down Expand Up @@ -1162,7 +1163,6 @@ def interactive_prompt(project: Namespace) -> list[str]: # noqa: C901 # pragma

prefix: dict[str, str] = {}
output: dict[str, list[str]] = {}
output.setdefault('project', ['project'])
project_name = '""'

result, output, prefix = _P.name(output, prefix, project.check_package_exists)
Expand Down Expand Up @@ -1228,7 +1228,7 @@ def interactive_prompt(project: Namespace) -> list[str]: # noqa: C901 # pragma
if isinstance(result, list):
return result

ret_args = []
ret_args = ['project']

for k, v in output.items():
for i in v:
Expand Down

0 comments on commit 2bfd894

Please sign in to comment.