Skip to content

Commit

Permalink
assemble: Fix typing error (#327)
Browse files Browse the repository at this point in the history
The return value was a generator of 2-value tuples not a dict

Signed-off-by: Andy Doan <[email protected]>
  • Loading branch information
doanac authored Mar 4, 2024
1 parent f8ae749 commit 7f67963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def check_and_get_fetched_apps_uri(target: FactoryClient.Target, shortlist: [str
x.strip() for x in fetched_apps_str.split(',') if x)
else:
# if `shortlist` is not defined or empty then all target apps were fetched
fetched_apps = set(target.apps().keys())
fetched_apps = [x[0] for x in target.apps()]

apps_to_fetch = set(shortlist) if shortlist else set(target.apps().keys())

Expand Down

0 comments on commit 7f67963

Please sign in to comment.