Bugfix: '--checklist' flag doesn't work since 3.8.1 to 3.8.6 version #127

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2020-03-29 18:58:30 +02:00
parent 67765af40b
commit 8afe7c0915
2 changed files with 3 additions and 2 deletions

View file

@ -320,7 +320,7 @@ class ArgParse(BlackList):
BinaryInstall(pkg_upgrade("slack", skip, flag),
"slack", flag).start(is_upgrade=True)
else:
Patches(skip, flags[0]).start()
Patches(skip, flags).start()
elif self.args[1] == "sbo":
SBoInstall(sbo_upgrade(skip, flag), flag).start(
is_upgrade=True)

View file

@ -158,9 +158,10 @@ class Patches(BlackList, Utils):
data.append(upg[:-4])
text = "Press 'spacebar' to unchoose packages from upgrade"
title = " Upgrade "
status = True
backtitle = f"{self.meta.__all__} {self.meta.__version__}"
pkgs = DialogUtil(data, text, title, backtitle,
status=True).checklist()
status).checklist()
index = 0
for pkg, comp, uncomp in zip(self.upgrade_all, self.comp_sum,
self.uncomp_sum):