Updated for order comments

This commit is contained in:
Dimitris Zlatanidis 2023-05-06 17:25:47 +03:00
parent f983d2f17d
commit d57c8b0af9
2 changed files with 21 additions and 21 deletions

View file

@ -22,18 +22,18 @@ class BinQueries:
BinariesTable.repo == self.repo).all() BinariesTable.repo == self.repo).all()
repos_dict: dict = { repos_dict: dict = {
data.name: (data.version, data.name: (data.version, # 0
data.package, data.package, # 1
data.mirror, data.mirror, # 2
data.location, data.location, # 3
data.size_comp, data.size_comp, # 4
data.size_uncomp, data.size_uncomp, # 5
data.required, data.required, # 6
data.conflicts, data.conflicts, # 7
data.suggests, data.suggests, # 8
data.description, data.description, # 9
data.checksum, data.checksum, # 10
data.repo) data.repo) # 11
for data in repository_data for data in repository_data
if not self.utils.blacklist_pattern(data.name) if not self.utils.blacklist_pattern(data.name)
} }

View file

@ -33,15 +33,15 @@ class SBoQueries(Configs):
repository_data: tuple = self.session.query(self.sbo_table).all() repository_data: tuple = self.session.query(self.sbo_table).all()
repos_dict: dict = { repos_dict: dict = {
data.name: (data.location, data.name: (data.location, # 0
data.files, data.files, # 1
data.version, data.version, # 2
data.download, data.download, # 3
data.download64, data.download64, # 4
data.md5sum, data.md5sum, # 5
data.md5sum64, data.md5sum64, # 6
data.requires, data.requires, # 7
data.short_description) data.short_description) # 8
for data in repository_data for data in repository_data
if not self.utils.blacklist_pattern(data.name) if not self.utils.blacklist_pattern(data.name)
} }