Sort CVEs to avoid extra commits

This commit is contained in:
Nemo 2023-03-03 18:27:12 +05:30
parent d8b9e6c106
commit df5c3a0248
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ def merge_advisories(advisory_file, data):
current['related'].extend(data['related'])
# Make sure no CVE references are duplicated
current['related'] = list(set(current['related']))
current['related'] = list(set(current['related'])).sort()
# Pick the earlier published date
# and the later modified date