mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Update code
This commit is contained in:
parent
d43039eb0d
commit
adbff87d15
1 changed files with 3 additions and 3 deletions
|
@ -48,6 +48,9 @@ class Upgrade:
|
|||
|
||||
def packages(self):
|
||||
""" Choose packages for upgrade. """
|
||||
height = 10
|
||||
width = 70
|
||||
list_height = 0
|
||||
title = ' Choose packages you want to upgrade '
|
||||
choices = []
|
||||
packages = list(self.search())
|
||||
|
@ -60,9 +63,6 @@ class Upgrade:
|
|||
choices += [(package, f'{inst_ver} -> {repo_ver}', True)]
|
||||
|
||||
text = f'There are {len(choices)} packages for upgrade:'
|
||||
height = 10
|
||||
width = 70
|
||||
list_height = 0
|
||||
|
||||
code, tags = self.dialog.checklist(text, title, height, width, list_height, choices)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue