mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Removed doubles
This commit is contained in:
parent
15e10a5c06
commit
4a6bc7bb69
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
4.7.4 - 04/04/2023
|
||||
Fixed:
|
||||
- Python typing hints
|
||||
- Upgrade packages
|
||||
Updated:
|
||||
- For upgradable color in installation
|
||||
|
||||
|
|
|
@ -27,9 +27,9 @@ class Upgrade(Configs):
|
|||
def packages(self) -> Generator[str, None, None]:
|
||||
""" Compares version of packages and returns the maximum. """
|
||||
if self.utils.is_option(self.flag_bin_repository, self.flags):
|
||||
repo_packages: Generator = BinQueries('', self.repo).all_package_names_by_repo()
|
||||
repo_packages: list = list(BinQueries('', self.repo).all_package_names_by_repo())
|
||||
else:
|
||||
repo_packages: Generator = SBoQueries('').sbos()
|
||||
repo_packages: list = list(SBoQueries('').sbos())
|
||||
|
||||
for pkg in self.all_installed:
|
||||
inst_package: str = self.utils.split_binary_pkg(pkg)[0]
|
||||
|
|
Loading…
Reference in a new issue