Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2024-03-24 22:14:06 +02:00
parent 5897966807
commit 0c64f14329

View file

@ -24,9 +24,8 @@ class Upgrade(Configs):
def packages(self) -> Generator:
""" Returns the upgradable packages. """
installed_packages: list = []
if self.repository in [self.repos.slack_repo_name, self.repos.salixos_repo_name]:
installed_packages: list = []
installed: Generator = self.log_packages.glob('*')
for package in installed:
tag: str = self.utils.split_package(package.name)['tag']