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 e16e295 commit ae43ff7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meta_package_manager/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,13 @@ def update_manager_selection(
# Add the value of --manager list.
if param.name == "manager":
if value:
assert isinstance(value, Iterable)
to_add.extend(value)

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

# Update the list of managers with the XKCD preset.
Expand Down

0 comments on commit ae43ff7

Please sign in to comment.