summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2017-09-25 11:56:01 +0100
committerGitHub <noreply@github.com>2017-09-25 11:56:01 +0100
commit29e1c717c3dfd6a8f2bdcb293d816d4ae75e2d23 (patch)
treed472d3d5530e45eee0c156a0446bf42da0a81288
parentFix logcontxt leak in keyclient (#2465) (diff)
parentMerge branch 'develop' into develop (diff)
downloadsynapse-29e1c717c3dfd6a8f2bdcb293d816d4ae75e2d23.tar.xz
Merge pull request #2390 from r3dey3/develop
Fix iteration of requests_missing_keys; list doesn't have .values()
-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 2a1d383078..054bac456d 100644
--- a/synapse/crypto/keyring.py
+++ b/synapse/crypto/keyring.py
@@ -298,7 +298,7 @@ class Keyring(object):
                         break
 
                 with PreserveLoggingContext():
-                    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" % (