splt long line

pull/211/head
David Baker 2015-08-04 15:20:35 +01:00
parent 07ad03d5df
commit 883aabe423
1 changed files with 3 additions and 1 deletions

View File

@ -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)