From 9c5461b1dd0d1daf048e395987657e47b86f9ed3 Mon Sep 17 00:00:00 2001 From: dharmendra kushwaha Date: Thu, 3 Mar 2016 00:03:59 +0530 Subject: [PATCH] Code clean-up in client.py Removing duplicate code from client.py Change-Id: I408915211e005488c8cb08acbd32fdd0501d8c7a --- tackerclient/client.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tackerclient/client.py b/tackerclient/client.py index 0b5863e8..09f0e41d 100644 --- a/tackerclient/client.py +++ b/tackerclient/client.py @@ -171,8 +171,6 @@ class HTTPClient(object): return resp, body except exceptions.Unauthorized: self.authenticate() - kwargs.setdefault('headers', {}) - kwargs['headers']['X-Auth-Token'] = self.auth_token resp, body = self._cs_request( self.endpoint_url + url, method, **kwargs) return resp, body