Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Nov 14, 2024
1 parent e03ec02 commit e16e295
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions meta_package_manager/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,13 @@ def update_manager_selection(

# Add the value of --manager list.
if param.name == "manager":
to_add.extend(value)
if value:
to_add.extend(value)

# Add the value of --exclude list.
elif param.name == "exclude":
to_remove.update(value)
if value:
to_remove.update(value)

# Update the list of managers with the XKCD preset.
elif param.name == "xkcd":
Expand Down

0 comments on commit e16e295

Please sign in to comment.