diff --git a/slpkg/utilities.py b/slpkg/utilities.py index 793a6a7d..fc63a596 100644 --- a/slpkg/utilities.py +++ b/slpkg/utilities.py @@ -192,8 +192,9 @@ class Utilities: def apply_package_pattern(data: dict, packages: list) -> list: """ Apply the pattern. """ for pkg in packages: + if pkg == '*': packages.remove(pkg) - packages += data.keys() + packages += list(data.keys()) return packages