mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-20 10:26:44 +01:00
Updated for coding style
This commit is contained in:
parent
7b9d3614f1
commit
51e488ea7f
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ class BinQueries(Configs):
|
|||
|
||||
return ()
|
||||
|
||||
def all_pkg_and_required(self) -> list:
|
||||
def all_package_names_with_required(self) -> list:
|
||||
""" Returns all package with the dependencies. """
|
||||
required: list = self.session.query(
|
||||
BinariesTable.name, BinariesTable.required).where(
|
||||
|
|
|
@ -92,7 +92,7 @@ class Dependees(Configs):
|
|||
def find_requires(self, pkg: str, repo) -> Generator[str, None, None]:
|
||||
""" Find requires that slackbuild dependees. """
|
||||
if self.utils.is_option(self.flag_bin_repository, self.flags):
|
||||
requires: list = BinQueries(pkg, repo).all_pkg_and_required()
|
||||
requires: list = BinQueries(pkg, repo).all_package_names_with_required()
|
||||
else:
|
||||
requires: list = SBoQueries('').all_sbo_and_requires()
|
||||
|
||||
|
|
Loading…
Reference in a new issue