summary refs log tree commit diff
path: root/synapse/module_api/__init__.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-19 15:11:59 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-19 15:11:59 +0000
commitf590f77a163e182626b79cb4f6d551409b1f9b9b (patch)
tree65fc34b3e50745d8bb964dc4512f3ddb17c0c061 /synapse/module_api/__init__.py
parentOpentracing Utils (#5722) (diff)
parentReplace returnValue with return (#5736) (diff)
downloadsynapse-f590f77a163e182626b79cb4f6d551409b1f9b9b.tar.xz
Replace returnValue with return (#5736)
Diffstat (limited to 'synapse/module_api/__init__.py')
-rw-r--r--synapse/module_api/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/module_api/__init__.py b/synapse/module_api/__init__.py

index 7bb020cb45..41147d4292 100644 --- a/synapse/module_api/__init__.py +++ b/synapse/module_api/__init__.py
@@ -101,7 +101,7 @@ class ModuleApi(object): ) user_id = yield self.register_user(localpart, displayname, emails) _, access_token = yield self.register_device(user_id) - defer.returnValue((user_id, access_token)) + return (user_id, access_token) def register_user(self, localpart, displayname=None, emails=[]): """Registers a new user with given localpart and optional displayname, emails.