mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Removed double
This commit is contained in:
parent
ea158a41c5
commit
2e3f4c54d0
1 changed files with 1 additions and 4 deletions
|
@ -13,7 +13,6 @@ from slpkg.utilities import Utilities
|
||||||
from slpkg.blacklist import Blacklist
|
from slpkg.blacklist import Blacklist
|
||||||
|
|
||||||
|
|
||||||
# This is almost always a good thing to do at the beginning of your programs.
|
|
||||||
locale.setlocale(locale.LC_ALL, '')
|
locale.setlocale(locale.LC_ALL, '')
|
||||||
|
|
||||||
|
|
||||||
|
@ -57,12 +56,10 @@ class Upgrade:
|
||||||
code, tags = self.d.checklist(f'There are {len(choices)} packages for upgrade:',
|
code, tags = self.d.checklist(f'There are {len(choices)} packages for upgrade:',
|
||||||
title='Choose packages you want to upgrade',
|
title='Choose packages you want to upgrade',
|
||||||
height=10, width=70, list_height=0, choices=choices)
|
height=10, width=70, list_height=0, choices=choices)
|
||||||
|
os.system('clear')
|
||||||
if code == self.d.OK:
|
if code == self.d.OK:
|
||||||
os.system('clear')
|
|
||||||
if not tags:
|
if not tags:
|
||||||
raise SystemExit()
|
raise SystemExit()
|
||||||
return tags
|
return tags
|
||||||
|
|
||||||
os.system('clear')
|
|
||||||
raise SystemExit()
|
raise SystemExit()
|
||||||
|
|
Loading…
Add table
Reference in a new issue