mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +01:00
Updated for coding style
This commit is contained in:
parent
4d4167ccd3
commit
12ee3ad43c
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ class RepoInfo(Configs):
|
|||
|
||||
def count_the_packages(self, repository: str) -> int:
|
||||
if self.utils.is_binary_repo(repository):
|
||||
count = self.session.query(BinariesTable).where(BinariesTable.repo == repository).count()
|
||||
count = self.session.query(BinariesTable).where(
|
||||
BinariesTable.repo == repository).count()
|
||||
else:
|
||||
count = self.session.query(SBoTable.id).count()
|
||||
|
||||
|
|
Loading…
Reference in a new issue