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 | ea6527dd7b2d3c6ec85760c0b7ccfc607085a740 (patch) | |
tree | 0d3ba4293ac7ca3b3d676401e67a5b115620d63a /bin | |
parent | f84f3a7019a07e314775256b814d29654e19b734 (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() |