diff --git a/slpkg/binaries/queries.py b/slpkg/binaries/queries.py index 3e92161b..c7d40191 100644 --- a/slpkg/binaries/queries.py +++ b/slpkg/binaries/queries.py @@ -9,8 +9,8 @@ from slpkg.models.models import session as Session class BinQueries: """ Queries class for the binary repositories. """ - def __init__(self, repo: str): - self.repo: str = repo + def __init__(self, repository: str): + self.repository: str = repository self.session = Session self.utils = Utilities() @@ -19,7 +19,7 @@ class BinQueries: """ Returns a dictionary with the repository data. """ repository_data: tuple = self.session.query( BinariesTable).where( - BinariesTable.repo == self.repo).all() + BinariesTable.repo == self.repository).all() repos_dict: dict = { data.name: (data.version, # 0