Updated for retrieving

This commit is contained in:
Dimitris Zlatanidis 2024-03-25 21:57:42 +02:00
parent d20dc910d1
commit f345d83396

View file

@ -45,7 +45,6 @@ class Upgrade(Configs):
def packages(self) -> Generator:
""" Returns the upgradable packages. """
print('\rRetrieving packages... ', end='')
self.load_installed_packages()
for inst in self.installed_packages:
@ -62,7 +61,6 @@ class Upgrade(Configs):
# if not self.utils.is_package_installed(name):
if name not in self.installed_names:
yield name
print(f'{self.bgreen}{self.ascii.done}{self.endc}')
def is_package_upgradeable(self, installed: str) -> bool:
inst_name: str = self.utils.split_package(installed)['name']