diff options
author | Brant Knudson <bknudson@us.ibm.com> | 2015-05-13 20:22:13 -0500 |
---|---|---|
committer | Brant Knudson <bknudson@us.ibm.com> | 2015-06-03 21:01:18 -0500 |
commit | 86018ca8649382fd1893c2099176167ec4a5aafe (patch) | |
tree | 935fc40eeb31449683026cb0de2c202b3b24433b /keystoneclient/httpclient.py | |
parent | f6ab133f25f00e041cd84aa8bbfb422594d1942f (diff) | |
download | python-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.py | 2 |
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 |