mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-28 19:58:18 +01:00
Fixed for dialog choose
This commit is contained in:
parent
c493aef80f
commit
c1570ea8bf
1 changed files with 2 additions and 2 deletions
|
@ -439,7 +439,7 @@ class Argparse(Configs):
|
|||
|
||||
if pkg in pr[0] or pkg == '*':
|
||||
repo_ver: str = BinQueries(pr[0], pr[1]).version()
|
||||
choices += [(pr[0], repo_ver, False, f'Package: {pr[0]}-{repo_ver} > {pr[1]}')]
|
||||
choices += [(pr[0], repo_ver, False, f'Package: {pr[0]}-{repo_ver}')]
|
||||
|
||||
else:
|
||||
for pkg in packages:
|
||||
|
@ -461,7 +461,7 @@ class Argparse(Configs):
|
|||
if not tags:
|
||||
return packages
|
||||
|
||||
return tags
|
||||
return list(set(tags))
|
||||
|
||||
def help(self) -> None:
|
||||
if len(self.args) == 1:
|
||||
|
|
Loading…
Add table
Reference in a new issue