Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2023-03-29 23:41:53 +03:00
parent 0f299a56ed
commit 332dc85568
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ class BinQueries(Configs):
return [pkg[0] for pkg in pkgs]
def package_names_from_all_repositories(self) -> tuple:
def all_package_names_from_repositories(self) -> tuple:
""" Returns the package name with the repo. """
pkgs: tuple = self.session.query(
BinariesTable.name, BinariesTable.repo).where(

View file

@ -38,7 +38,7 @@ class SearchPackage(Configs):
# Searching for binaries.
if self.utils.is_option(self.flag_bin_repository, self.flags):
if repo == '*':
pkg_repo: tuple = BinQueries('', repo).package_names_from_all_repositories()
pkg_repo: tuple = BinQueries('', repo).all_package_names_from_repositories()
for pkg in packages:
for pr in pkg_repo: