summary refs log tree commit diff
path: root/scripts-dev/convert_server_keys.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-19 13:14:21 +0100
committerErik Johnston <erik@matrix.org>2015-05-19 13:14:21 +0100
commitdf431b127b54df3d5e5c398e48a134dc66d29ebd (patch)
tree6c6e2ae49f36e71c8fd5f9a9d2442567646f2f02 /scripts-dev/convert_server_keys.py
parentFix scripts-dev/convert_server_keys.py to have correct format (diff)
downloadsynapse-df431b127b54df3d5e5c398e48a134dc66d29ebd.tar.xz
Add forgotten .items()
Diffstat (limited to '')
-rw-r--r--scripts-dev/convert_server_keys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts-dev/convert_server_keys.py b/scripts-dev/convert_server_keys.py
index 7080ec5fd2..a1ee39059c 100644
--- a/scripts-dev/convert_server_keys.py
+++ b/scripts-dev/convert_server_keys.py
@@ -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)],