summary refs log tree commit diff
path: root/synapse/crypto/keyring.py
diff options
context:
space:
mode:
authorKenny Keslar <r3dey3@r3dey3.com>2017-07-26 22:44:19 -0500
committerKenny Keslar <r3dey3@r3dey3.com>2017-07-26 22:44:19 -0500
commitf18373dc5d6c5431bbf79760818b6ebc3467c7ba (patch)
treec70538c218341dac9f4601aed5ad403f160adc92 /synapse/crypto/keyring.py
parentMerge pull request #2375 from matrix-org/erikj/port_script (diff)
downloadsynapse-f18373dc5d6c5431bbf79760818b6ebc3467c7ba.tar.xz
Fix iteration of requests_missing_keys; list doesn't have .values()
Signed-off-by: Kenny Keslar <r3dey3@r3dey3.com>
Diffstat (limited to 'synapse/crypto/keyring.py')
-rw-r--r--synapse/crypto/keyring.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/crypto/keyring.py b/synapse/crypto/keyring.py
index 1bb27edc0f..c900f4d6df 100644
--- a/synapse/crypto/keyring.py
+++ b/synapse/crypto/keyring.py
@@ -305,7 +305,7 @@ class Keyring(object):
                     if not missing_keys:
                         break
 
-                for verify_request in requests_missing_keys.values():
+                for verify_request in requests_missing_keys:
                     verify_request.deferred.errback(SynapseError(
                         401,
                         "No key for %s with id %s" % (