Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2023-05-08 18:01:19 +03:00
parent 4d4167ccd3
commit 12ee3ad43c

View file

@ -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()