Add forgotten .items()

This commit is contained in:
Erik Johnston 2015-05-19 13:14:21 +01:00
parent 882ac83d8d
commit df431b127b

View file

@ -49,7 +49,7 @@ def convert_v1_to_v2(server_name, valid_until, keys, certificate):
"server_name": server_name, "server_name": server_name,
"verify_keys": { "verify_keys": {
key_id: {"key": key} key_id: {"key": key}
for key_id, key in keys for key_id, key in keys.items()
}, },
"valid_until_ts": valid_until, "valid_until_ts": valid_until,
"tls_fingerprints": [fingerprint(certificate)], "tls_fingerprints": [fingerprint(certificate)],