From b77ce9675b9736e17a754e26a287710eab2fc66b Mon Sep 17 00:00:00 2001 From: Maria Fernanda Magallanes Zubillaga Date: Wed, 28 Aug 2024 15:36:01 -0500 Subject: [PATCH] fix: add the PICASSO_ prefix condition to find packages --- tutorpicasso/commands/enable_private_packages.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tutorpicasso/commands/enable_private_packages.py b/tutorpicasso/commands/enable_private_packages.py index 1036355..0d93953 100644 --- a/tutorpicasso/commands/enable_private_packages.py +++ b/tutorpicasso/commands/enable_private_packages.py @@ -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.endswith("_DPKG") and key.startswith("PICASSO_") and val } return picasso_packages