summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-08-25 16:25:46 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-08-25 16:25:46 +0100
commit57619d6058fc5f70fc5c799d0fc7f362b0a03bcf (patch)
tree5591f1fe0a2149801f0efb8a261ea96845b89d10 /synapse/api
parentRemove completely unused concepts from codebase (diff)
downloadsynapse-57619d6058fc5f70fc5c799d0fc7f362b0a03bcf.tar.xz
Re-wrap line
Diffstat (limited to '')
-rw-r--r--synapse/api/auth.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 1496db7dff..b41e34e658 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -354,9 +354,7 @@ class Auth(object):
 
                 request.authenticated_entity = user_id
 
-                defer.returnValue(
-                    (UserID.from_string(user_id), "")
-                )
+                defer.returnValue((UserID.from_string(user_id), ""))
                 return
             except KeyError:
                 pass  # normal users won't have the user_id query parameter set.