mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Rename variable
This commit is contained in:
parent
e6d1cbdde9
commit
4b301b5761
1 changed files with 2 additions and 2 deletions
|
@ -25,9 +25,9 @@ class Upgrade(Configs):
|
|||
def packages(self) -> Generator:
|
||||
""" Returns the upgradable packages. """
|
||||
repo_tag: str = self.repos.repositories[self.repository]['repo_tag']
|
||||
installed_package: Generator = self.log_packages.glob(f'*{repo_tag}')
|
||||
installed_packages: Generator = self.log_packages.glob(f'*{repo_tag}')
|
||||
|
||||
for installed in installed_package:
|
||||
for installed in installed_packages:
|
||||
name: str = self.utils.split_package(installed.name)['name']
|
||||
if self.is_package_upgradeable(installed.name):
|
||||
yield name
|
||||
|
|
Loading…
Reference in a new issue