mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-03 06:56:44 +01:00
Removed unused
This commit is contained in:
parent
dd594a8cc0
commit
32c58cc988
1 changed files with 0 additions and 24 deletions
|
@ -39,27 +39,3 @@ class BinQueries:
|
||||||
}
|
}
|
||||||
|
|
||||||
return repos_dict
|
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
|
|
||||||
|
|
Loading…
Reference in a new issue