diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-08-06 10:22:35 +0200 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-08-06 11:02:28 +0200 |
commit | 78ea9207000daa8e762aa83e5d598d650218066e (patch) | |
tree | 6a4d5f7c0072a0694ce4d52aeaff29f6a1c345ad /bin | |
parent | e8be4894b59ab4f265d4c70800ee7ea8ca0a7dc6 (diff) |
update-nvd: convert values to a list
Otherwise we get a dict_values object under python3 which we
can't sort.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/update-nvd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update-nvd b/bin/update-nvd index 9a07e78887..04c644eb0a 100755 --- a/bin/update-nvd +++ b/bin/update-nvd @@ -39,7 +39,7 @@ for name in sys.argv[1:]: deduplicate = {} for x in data: deduplicate[x[0]] = x -data = deduplicate.values() +data = list(deduplicate.values()) data.sort() cursor = db.writeTxn() |