From c1e0465f70a58cf93ae60a81a24f8c0019576d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Fernanda=20Magallanes?= <35668326+MaferMazu@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:23:06 -0500 Subject: [PATCH] fix: add the PICASSO_ prefix condition to find packages (#4) --- 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..64721c3 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.startswith("PICASSO_") and key.endswith("_DPKG") and val } return picasso_packages