summaryrefslogtreecommitdiff
path: root/keystoneclient/httpclient.py
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2015-05-13 20:22:13 -0500
committerBrant Knudson <bknudson@us.ibm.com>2015-06-03 21:01:18 -0500
commit86018ca8649382fd1893c2099176167ec4a5aafe (patch)
tree935fc40eeb31449683026cb0de2c202b3b24433b /keystoneclient/httpclient.py
parentf6ab133f25f00e041cd84aa8bbfb422594d1942f (diff)
downloadpython-keystoneclient-86018ca8649382fd1893c2099176167ec4a5aafe.tar.gz
tox env for Bandit
A tox env is created for the Bandit static code analyzer for security. bp bandit Change-Id: I8c0178befec77fe3d29b411a15ceed9a020820b5
Diffstat (limited to 'keystoneclient/httpclient.py')
-rw-r--r--keystoneclient/httpclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystoneclient/httpclient.py b/keystoneclient/httpclient.py
index 317a9e8..e1ee4c6 100644
--- a/keystoneclient/httpclient.py
+++ b/keystoneclient/httpclient.py
@@ -552,7 +552,7 @@ class HTTPClient(baseclient.Client, base.BaseAuthPlugin):
auth_ref = keyring.get_password("keystoneclient_auth",
keyring_key)
if auth_ref:
- auth_ref = pickle.loads(auth_ref)
+ auth_ref = pickle.loads(auth_ref) # nosec
if auth_ref.will_expire_soon(self.stale_duration):
# token has expired, don't use it
auth_ref = None