summary refs log tree commit diff
path: root/synapse/rest/client/v1
diff options
context:
space:
mode:
authorSteven Hammerton <steven.hammerton@openmarket.com>2015-10-12 14:45:24 +0100
committerSteven Hammerton <steven.hammerton@openmarket.com>2015-10-12 14:45:24 +0100
commit7f8fdc9814571723bfc120e43c6d21cde1c660a4 (patch)
tree84c71b56ea91a1fe90ba9784d97b9b17e8a2e6de /synapse/rest/client/v1
parentSupport multiple required attributes in CAS response, and in a nicer config f... (diff)
downloadsynapse-7f8fdc9814571723bfc120e43c6d21cde1c660a4.tar.xz
Remove not required parenthesis
Diffstat (limited to 'synapse/rest/client/v1')
-rw-r--r--synapse/rest/client/v1/login.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/login.py b/synapse/rest/client/v1/login.py
index 84774e61aa..8facb00126 100644
--- a/synapse/rest/client/v1/login.py
+++ b/synapse/rest/client/v1/login.py
@@ -125,7 +125,7 @@ class LoginRestServlet(ClientV1RestServlet):
 
     @defer.inlineCallbacks
     def do_cas_login(self, cas_response_body):
-        (user, attributes) = self.parse_cas_response(cas_response_body)
+        user, attributes = self.parse_cas_response(cas_response_body)
 
         for required_attribute in self.cas_required_attributes:
             # If required attribute was not in CAS Response - Forbidden