diff --git a/ChangeLog.txt b/ChangeLog.txt index 20c62fbf..7d37d175 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,6 +1,7 @@ 4.7.4 - 04/04/2023 Fixed: - Python typing hints +- Upgrade packages Updated: - For upgradable color in installation diff --git a/slpkg/upgrade.py b/slpkg/upgrade.py index 1646391f..365154d4 100644 --- a/slpkg/upgrade.py +++ b/slpkg/upgrade.py @@ -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]