mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-16 03:41:11 +01:00
Updated for naming
This commit is contained in:
parent
9dccaa29c0
commit
57662697b9
1 changed files with 3 additions and 3 deletions
|
@ -139,9 +139,9 @@ class RemovePackages(Configs):
|
||||||
title: str = " Choose dependencies you want to remove "
|
title: str = " Choose dependencies you want to remove "
|
||||||
|
|
||||||
for package in self.dependencies:
|
for package in self.dependencies:
|
||||||
inst_pkg: str = self.utils.is_package_installed(package)
|
installed_package: str = self.utils.is_package_installed(package)
|
||||||
inst_ver: str = self.utils.split_package(inst_pkg)['version']
|
installed_version: str = self.utils.split_package(installed_package)['version']
|
||||||
choices.extend([(package, inst_ver, True, f'Package: {inst_pkg}')])
|
choices.extend([(package, installed_version, True, f'Package: {installed_package}')])
|
||||||
|
|
||||||
text: str = f'There are {len(choices)} dependencies:'
|
text: str = f'There are {len(choices)} dependencies:'
|
||||||
code, self.dependencies = self.dialogbox.checklist(text, self.dependencies, title, height,
|
code, self.dependencies = self.dialogbox.checklist(text, self.dependencies, title, height,
|
||||||
|
|
Loading…
Reference in a new issue