summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-08-04 15:20:35 +0100
committerDavid Baker <dave@matrix.org>2015-08-04 15:20:35 +0100
commit883aabe4236f466b404bae7982dcb3b375dc53e1 (patch)
tree6e2a09e384874f4ff57afe9b8f4d849d7763a994 /synapse
parentFix tests (diff)
downloadsynapse-883aabe4236f466b404bae7982dcb3b375dc53e1.tar.xz
splt long line
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/client/v2_alpha/register.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py
index 7b97a73df6..93f9223708 100644
--- a/synapse/rest/client/v2_alpha/register.py
+++ b/synapse/rest/client/v2_alpha/register.py
@@ -224,7 +224,9 @@ class RegisterRestServlet(RestServlet):
             if k not in body:
                 absent.append(k)
 
-        existingUid = self.hs.get_datastore().get_user_id_by_threepid('email', body['email'])
+        existingUid = self.hs.get_datastore().get_user_id_by_threepid(
+            'email', body['email']
+        )
         if existingUid is not None:
             raise SynapseError(400, "Email is already in use", Codes.THREEPID_IN_USE)