From 7f8fdc9814571723bfc120e43c6d21cde1c660a4 Mon Sep 17 00:00:00 2001
From: Steven Hammerton <steven.hammerton@openmarket.com>
Date: Mon, 12 Oct 2015 14:45:24 +0100
Subject: [PATCH] Remove not required parenthesis

---
 synapse/rest/client/v1/login.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
GitLab