summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-04-16 20:03:13 +0100
committerDavid Baker <dave@matrix.org>2015-04-16 20:03:13 +0100
commit4cd5fb13a31a4da1d7d8feb06d211a2f7842f5ad (patch)
treeaa2155edec2938e9b8ced80f8c83fe4f82b33dbb
parentReturn user ID in use error straight away (diff)
downloadsynapse-4cd5fb13a31a4da1d7d8feb06d211a2f7842f5ad.tar.xz
Oops, left debugging in.
Diffstat (limited to '')
-rw-r--r--synapse/handlers/register.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py
index 541b1019da..25b1db62ea 100644
--- a/synapse/handlers/register.py
+++ b/synapse/handlers/register.py
@@ -48,8 +48,6 @@ class RegistrationHandler(BaseHandler):
     def check_username(self, localpart):
         yield run_on_reactor()
 
-        print "checking username %s" % (localpart)
-
         if urllib.quote(localpart) != localpart:
             raise SynapseError(
                 400,
@@ -62,11 +60,7 @@ class RegistrationHandler(BaseHandler):
 
         yield self.check_user_id_is_valid(user_id)
 
-        print "is valid"
-
         u = yield self.store.get_user_by_id(user_id)
-        print "user is: "
-        print u
         if u:
             raise SynapseError(
                 400,