summary refs log tree commit diff
path: root/synapse/handlers/e2e_keys.py
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-09-04 22:30:45 -0400
committerHubert Chathi <hubert@uhoreg.ca>2019-09-04 22:30:45 -0400
commitc8dc740a94f20c0bca9aaa30b9d0fd211361a21e (patch)
tree263748bca4a67b36fc3358562575985972385225 /synapse/handlers/e2e_keys.py
parentadd test (diff)
downloadsynapse-c8dc740a94f20c0bca9aaa30b9d0fd211361a21e.tar.xz
update with newer coding style
Diffstat (limited to 'synapse/handlers/e2e_keys.py')
-rw-r--r--synapse/handlers/e2e_keys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/e2e_keys.py b/synapse/handlers/e2e_keys.py
index 74bceddc46..d5d6e6e027 100644
--- a/synapse/handlers/e2e_keys.py
+++ b/synapse/handlers/e2e_keys.py
@@ -851,7 +851,7 @@ class E2eKeysHandler(object):
                 user_id, signed_users
             )
 
-        defer.returnValue({"failures": failures})
+        return {"failures": failures}
 
     @defer.inlineCallbacks
     def _get_e2e_cross_signing_verify_key(self, user_id, key_type, from_user_id=None):