Fixed remove pkg version

This commit is contained in:
Dimitris Zlatanidis 2023-04-09 17:48:36 +03:00
parent 5fe929e875
commit f6436723d8
2 changed files with 3 additions and 2 deletions

View file

@ -3,6 +3,7 @@ Updated:
- Improve speed (Replace multi SQL queries)
Fixed:
- For binaries double dependencies
- For remove package version
Added:
- Slots '__slots__' to improve speed

View file

@ -191,9 +191,9 @@ class ViewMessage(Configs):
title: str = " Choose dependencies you want to remove "
for package in dependencies:
repo_ver: str = self.data[package][2]
inst_pkg: str = self.utils.is_package_installed(package)
choices += [(package, repo_ver, True, f'Package: {inst_pkg}')]
inst_ver: str = self.utils.split_binary_pkg(inst_pkg)[1]
choices += [(package, inst_ver, True, f'Package: {inst_pkg}')]
text: str = f'There are {len(choices)} dependencies:'