summaryrefslogtreecommitdiff
path: root/keystoneclient/session.py
diff options
context:
space:
mode:
authorDavid Stanek <dstanek@dstanek.com>2014-05-19 20:04:00 +0000
committerDavid Stanek <dstanek@dstanek.com>2014-05-20 01:38:46 +0000
commit0e659c050e749a94f47adde798947ce02da55cb7 (patch)
treefc23fcb2dcfeb312fe3304055dd9ace8f9a0f745 /keystoneclient/session.py
parent3d6d749e6f0fef682a88758e1a2f6c9e8e7bd23c (diff)
downloadpython-keystoneclient-0e659c050e749a94f47adde798947ce02da55cb7.tar.gz
Fixes an erroneous type check in a test
The latest version of requests changes the type of a Response's history. See https://github.com/kennethreitz/requests/commit/b8128d6 Closes-Bug: #1321042 Change-Id: Iba9fa20d22d878a4298a35e270338ee442031796
Diffstat (limited to 'keystoneclient/session.py')
-rw-r--r--keystoneclient/session.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/keystoneclient/session.py b/keystoneclient/session.py
index 4a43a18..7e5010c 100644
--- a/keystoneclient/session.py
+++ b/keystoneclient/session.py
@@ -256,10 +256,6 @@ class Session(object):
resp = self._send_request(url, method, redirect, **kwargs)
- # NOTE(jamielennox): we create a tuple here to be the same as what is
- # returned by the requests library.
- resp.history = tuple(resp.history)
-
if raise_exc and resp.status_code >= 400:
_logger.debug('Request returned failure status: %s',
resp.status_code)