Updated for list

This commit is contained in:
Dimitris Zlatanidis 2023-04-09 12:48:41 +03:00
parent 952e61866c
commit ffd4a60dee

View file

@ -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