mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-05 11:02:14 +01:00
Updated for coding style
This commit is contained in:
parent
0f299a56ed
commit
332dc85568
2 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue