mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-01 07:57:26 +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 ()
|
return ()
|
||||||
|
|
||||||
def all_pkg_and_required(self) -> list:
|
def all_package_names_with_required(self) -> list:
|
||||||
""" Returns all package with the dependencies. """
|
""" Returns all package with the dependencies. """
|
||||||
required: list = self.session.query(
|
required: list = self.session.query(
|
||||||
BinariesTable.name, BinariesTable.required).where(
|
BinariesTable.name, BinariesTable.required).where(
|
||||||
|
|
|
@ -92,7 +92,7 @@ class Dependees(Configs):
|
||||||
def find_requires(self, pkg: str, repo) -> Generator[str, None, None]:
|
def find_requires(self, pkg: str, repo) -> Generator[str, None, None]:
|
||||||
""" Find requires that slackbuild dependees. """
|
""" Find requires that slackbuild dependees. """
|
||||||
if self.utils.is_option(self.flag_bin_repository, self.flags):
|
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:
|
else:
|
||||||
requires: list = SBoQueries('').all_sbo_and_requires()
|
requires: list = SBoQueries('').all_sbo_and_requires()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue