mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated for list
This commit is contained in:
parent
952e61866c
commit
ffd4a60dee
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue