Skip to content

Commit

Permalink
Remove temporary special cases for binaries with missing info
Browse files Browse the repository at this point in the history
  • Loading branch information
m417z committed Oct 12, 2024
1 parent 685ead0 commit 9e8e296
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions data/upd05_group_by_filename.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,7 @@ def canonical_file_info(file_info):
file_info_1 = canonical_file_info(file_info_1)
file_info_2 = canonical_file_info(file_info_2)

# assert file_info_1.keys() - {'signingDate'} == file_info_2.keys() - {'signingDate'}, (file_info_1, file_info_2)
# Temporary. TODO: Remove.
if file_info_1.keys() - {'signingDate'} != file_info_2.keys() - {'signingDate'}:
assert file_info_1.keys() - {'signingDate'} == file_info_2.keys() - {'signingDate', 'version', 'description'}, (file_info_1, file_info_2)
assert file_info_1.keys() - {'signingDate'} == file_info_2.keys() - {'signingDate'}, (file_info_1, file_info_2)

for key in file_info_1.keys() - {'signingStatus', 'signingDate'}:
assert file_info_1[key] == file_info_2[key], (file_info_1, file_info_2)
Expand Down

0 comments on commit 9e8e296

Please sign in to comment.