Add forgotten .items()

pull/164/head
Erik Johnston 2015-05-19 13:14:21 +01:00
parent 882ac83d8d
commit df431b127b
1 changed files with 1 additions and 1 deletions

View File

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