From 32c58cc988bb99a2d46d075ce9b0a861ecd02c15 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 6 May 2023 17:56:29 +0300 Subject: [PATCH] Removed unused --- slpkg/binaries/queries.py | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/slpkg/binaries/queries.py b/slpkg/binaries/queries.py index efcb3f67..3e92161b 100644 --- a/slpkg/binaries/queries.py +++ b/slpkg/binaries/queries.py @@ -39,27 +39,3 @@ class BinQueries: } return repos_dict - - def repositories_data(self) -> dict: - """ Returns a dictionary with repositories data. """ - repositories_data: tuple = self.session.query(BinariesTable).all() - - repos_dict: dict = { - data.id: (data.name, - data.version, - data.package, - data.mirror, - data.location, - data.size_comp, - data.size_uncomp, - data.required, - data.conflicts, - data.suggests, - data.description, - data.checksum, - data.repo) - for data in repositories_data - if not self.utils.blacklist_pattern(data.name) - } - - return repos_dict