summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-04-17 16:14:51 +0100
committerErik Johnston <erik@matrix.org>2015-04-17 16:14:51 +0100
commit865398b4a953109015a7fa595634070b39e68a6d (patch)
tree421b1ce473082ced4ad431f4332787a5a6fcfc88 /synapse/rest
parentRevert needless change to storage.profile (diff)
downloadsynapse-865398b4a953109015a7fa595634070b39e68a6d.tar.xz
Revert needless change to rest.profile
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v1/profile.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/synapse/rest/client/v1/profile.py b/synapse/rest/client/v1/profile.py
index 7387b4adb9..1e77eb49cf 100644
--- a/synapse/rest/client/v1/profile.py
+++ b/synapse/rest/client/v1/profile.py
@@ -19,13 +19,9 @@ from twisted.internet import defer
 from .base import ClientV1RestServlet, client_path_pattern
 from synapse.types import UserID
 
-import logging
 import simplejson as json
 
 
-logger = logging.getLogger(__name__)
-
-
 class ProfileDisplaynameRestServlet(ClientV1RestServlet):
     PATTERN = client_path_pattern("/profile/(?P<user_id>[^/]*)/displayname")
 
@@ -51,8 +47,7 @@ class ProfileDisplaynameRestServlet(ClientV1RestServlet):
             defer.returnValue((400, "Unable to parse name"))
 
         yield self.handlers.profile_handler.set_displayname(
-            user, auth_user, new_name
-        )
+            user, auth_user, new_name)
 
         defer.returnValue((200, {}))