Updated for naming

This commit is contained in:
Dimitris Zlatanidis 2023-05-13 18:02:46 +03:00
parent 9dccaa29c0
commit 57662697b9

View file

@ -139,9 +139,9 @@ class RemovePackages(Configs):
title: str = " Choose dependencies you want to remove "
for package in self.dependencies:
inst_pkg: str = self.utils.is_package_installed(package)
inst_ver: str = self.utils.split_package(inst_pkg)['version']
choices.extend([(package, inst_ver, True, f'Package: {inst_pkg}')])
installed_package: str = self.utils.is_package_installed(package)
installed_version: str = self.utils.split_package(installed_package)['version']
choices.extend([(package, installed_version, True, f'Package: {installed_package}')])
text: str = f'There are {len(choices)} dependencies:'
code, self.dependencies = self.dialogbox.checklist(text, self.dependencies, title, height,