mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Fixed for bins package checksum
This commit is contained in:
parent
3f84bc47b0
commit
6401a4ed36
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ class BinQueries(Configs):
|
|||
if self.name in self.black.packages():
|
||||
self.name: str = ''
|
||||
|
||||
def count_packages(self):
|
||||
def count_packages(self) -> list:
|
||||
""" Counts the number of the packages. """
|
||||
count = self.session.query(
|
||||
BinariesTable.id).where(
|
||||
|
@ -104,7 +104,7 @@ class BinQueries(Configs):
|
|||
""" Returns the binary package checksum. """
|
||||
md5: tuple = self.session.query(
|
||||
BinariesTable.checksum).filter(
|
||||
BinariesTable.package == self.name).where(
|
||||
BinariesTable.name == self.name).where(
|
||||
BinariesTable.repo == self.repo).first()
|
||||
|
||||
if md5:
|
||||
|
|
Loading…
Reference in a new issue