summary refs log tree commit diff
path: root/synapse/handlers/login.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/handlers/login.py')
-rw-r--r--synapse/handlers/login.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/handlers/login.py b/synapse/handlers/login.py
index 979086a3d6..c98ae2cfb5 100644
--- a/synapse/handlers/login.py
+++ b/synapse/handlers/login.py
@@ -23,7 +23,6 @@ import synapse.util.emailutils as emailutils
 
 import bcrypt
 import logging
-import urllib
 
 logger = logging.getLogger(__name__)
 
@@ -101,7 +100,9 @@ class LoginHandler(BaseHandler):
         data = yield httpCli.get_json(
             # TODO FIXME This should be configurable.
             # XXX: ID servers need to use HTTPS
-            "http://%s%s" % ("matrix.org:8090", "/_matrix/identity/api/v1/lookup"),
+            "http://%s%s" % (
+                "matrix.org:8090", "/_matrix/identity/api/v1/lookup"
+            ),
             {
                 'medium': 'email',
                 'address': email