diff options
author | David Baker <dave@matrix.org> | 2017-03-08 09:33:40 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2017-03-08 09:33:40 +0000 |
commit | 402a7bf63d0b8fc715ae6659c3b451e1bd44b0f2 (patch) | |
tree | a8658213882242ed5c354402f7614314774c4f44 /synapse/rest/client/v2_alpha/register.py | |
parent | Support new login format (diff) | |
download | synapse-402a7bf63d0b8fc715ae6659c3b451e1bd44b0f2.tar.xz |
Fix pep8
Diffstat (limited to 'synapse/rest/client/v2_alpha/register.py')
-rw-r--r-- | synapse/rest/client/v2_alpha/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py index 768e753083..ad3c70814d 100644 --- a/synapse/rest/client/v2_alpha/register.py +++ b/synapse/rest/client/v2_alpha/register.py @@ -116,7 +116,7 @@ class MsisdnRegisterRequestTokenRestServlet(RestServlet): except phonenumbers.NumberParseException: raise SynapseError(400, "Unable to parse phone number") msisdn = phonenumbers.format_number( - phoneNumber, phonenumbers.PhoneNumberFormat.E164 + phoneNumber, phonenumbers.PhoneNumberFormat.E164 )[1:] existingUid = yield self.hs.get_datastore().get_user_id_by_threepid( |