Skip to content

Commit

Permalink
fix: add the PICASSO_ prefix condition to find packages
Browse files Browse the repository at this point in the history
  • Loading branch information
MaferMazu committed Aug 28, 2024
1 parent bf51ed8 commit f326db5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tutorpicasso/commands/enable_private_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ def get_picasso_packages(settings: Dict[str, Any]) -> Dict[str, Dict[str, Any]]:
and the values are package details.
"""
picasso_packages = {
key: val for key, val in settings.items() if key.endswith("_DPKG") and val
key: val
for key, val in settings.items()
if key.startswith("PICASSO_") and key.endswith("_DPKG") and val
}
return picasso_packages

0 comments on commit f326db5

Please sign in to comment.