summary refs log tree commit diff
path: root/synapse/handlers/register.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-04-17 16:46:45 +0100
committerDavid Baker <dave@matrix.org>2015-04-17 16:46:45 +0100
commit4eea5cf6c2a301938466828b02557d8500197bb3 (patch)
tree699f0689ae3a09ded1d7af9d5054fbb385f33ca3 /synapse/handlers/register.py
parentmake add3pid servlet work (diff)
downloadsynapse-4eea5cf6c2a301938466828b02557d8500197bb3.tar.xz
pep8
Diffstat (limited to 'synapse/handlers/register.py')
-rw-r--r--synapse/handlers/register.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py
index d4483c3a1d..7b68585a17 100644
--- a/synapse/handlers/register.py
+++ b/synapse/handlers/register.py
@@ -18,18 +18,15 @@ from twisted.internet import defer
 
 from synapse.types import UserID
 from synapse.api.errors import (
-    AuthError, Codes, SynapseError, RegistrationError, InvalidCaptchaError,
-    CodeMessageException
+    AuthError, Codes, SynapseError, RegistrationError, InvalidCaptchaError
 )
 from ._base import BaseHandler
 import synapse.util.stringutils as stringutils
 from synapse.util.async import run_on_reactor
-from synapse.http.client import SimpleHttpClient
 from synapse.http.client import CaptchaServerHttpClient
 
 import base64
 import bcrypt
-import json
 import logging
 import urllib