diff --git a/slpkg/binaries/queries.py b/slpkg/binaries/queries.py index 031beb92..cc462def 100644 --- a/slpkg/binaries/queries.py +++ b/slpkg/binaries/queries.py @@ -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( diff --git a/slpkg/search.py b/slpkg/search.py index 27f84fe8..48958701 100644 --- a/slpkg/search.py +++ b/slpkg/search.py @@ -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: