diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-04-21 18:32:07 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-04-21 18:32:07 +0000 |
commit | c0893709305260fa1d2df967e973363db614624d (patch) | |
tree | 6bd87b5d762fd51c0a6aafd7218910db08ffb613 /keystoneclient/contrib/auth/v3 | |
parent | 841389810f0fe5363d06c1b46531de951c0228f3 (diff) | |
parent | dbf4f3164655ec69a830ed87db0769f01ac1f720 (diff) | |
download | python-keystoneclient-c0893709305260fa1d2df967e973363db614624d.tar.gz |
Merge "Removing bandit.yaml in favor of defaults"
Diffstat (limited to 'keystoneclient/contrib/auth/v3')
-rw-r--r-- | keystoneclient/contrib/auth/v3/saml2.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/keystoneclient/contrib/auth/v3/saml2.py b/keystoneclient/contrib/auth/v3/saml2.py index c42d3b6..bc8f11e 100644 --- a/keystoneclient/contrib/auth/v3/saml2.py +++ b/keystoneclient/contrib/auth/v3/saml2.py @@ -13,7 +13,7 @@ import datetime import uuid -from lxml import etree +from lxml import etree # nosec(cjschaef): used to create xml, not parse it from oslo_config import cfg from six.moves import urllib @@ -559,7 +559,8 @@ class ADFSUnscopedToken(_BaseSAMLPlugin): """ try: return bool(session.cookies) - except AttributeError: + except AttributeError: # nosec(cjschaef): fetch cookies from + # underylying requests.Session object, or fail trying pass return bool(session.session.cookies) |