Fix iteration of requests_missing_keys; list doesn't have .values()

Signed-off-by: Kenny Keslar <r3dey3@r3dey3.com>
This commit is contained in:
Kenny Keslar 2017-07-26 22:44:19 -05:00
parent b27429729d
commit f18373dc5d

View File

@ -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" % (