mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated for coding style
This commit is contained in:
parent
5897966807
commit
0c64f14329
1 changed files with 1 additions and 2 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Reference in a new issue