mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Updated for names
This commit is contained in:
parent
fa256aeabe
commit
7b7c8db3a2
1 changed files with 4 additions and 4 deletions
|
@ -84,12 +84,12 @@ class Choose(Configs):
|
||||||
""" Choose packages for others methods like install, tracking etc. """
|
""" Choose packages for others methods like install, tracking etc. """
|
||||||
if self.repository == '*':
|
if self.repository == '*':
|
||||||
for pkg in packages:
|
for pkg in packages:
|
||||||
for name, repo in data.items():
|
for repo_name, repo_data in data.items():
|
||||||
for package in repo.keys():
|
for package in repo_data.keys():
|
||||||
if pkg in package or pkg == '*':
|
if pkg in package or pkg == '*':
|
||||||
version: str = repo[package]['version']
|
version: str = repo_data[package]['version']
|
||||||
self.choices.extend([(package, version, False, f'Package: {package}-{version} '
|
self.choices.extend([(package, version, False, f'Package: {package}-{version} '
|
||||||
f'> {name}')])
|
f'> {repo_name}')])
|
||||||
|
|
||||||
else:
|
else:
|
||||||
for pkg in packages:
|
for pkg in packages:
|
||||||
|
|
Loading…
Reference in a new issue