diff options
author | Roland Hedberg <roland@catalogix.se> | 2017-04-24 15:45:46 +0200 |
---|---|---|
committer | Roland Hedberg <roland@catalogix.se> | 2017-04-24 15:45:46 +0200 |
commit | 3ee85092e34cf637398b32741dda063b5c4bf316 (patch) | |
tree | 8137a180b2882a10c944141f4bdffe722dc0cf69 /src/saml2/client_base.py | |
parent | ccb842d20b9a4a2334706a180a69a39136f37f08 (diff) | |
download | pysaml2-3ee85092e34cf637398b32741dda063b5c4bf316.tar.gz |
'scoping' not i kwargs
Diffstat (limited to 'src/saml2/client_base.py')
-rw-r--r-- | src/saml2/client_base.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/saml2/client_base.py b/src/saml2/client_base.py index 55e5b1fc..62410430 100644 --- a/src/saml2/client_base.py +++ b/src/saml2/client_base.py @@ -246,8 +246,8 @@ class Base(Entity): del kwargs["assertion_consumer_service_url"] except KeyError: try: - args["assertion_consumer_service_index"] = str(kwargs[ - "assertion_consumer_service_index"]) + args["assertion_consumer_service_index"] = str( + kwargs["assertion_consumer_service_index"]) del kwargs["assertion_consumer_service_index"] except KeyError: if service_url_binding is None: @@ -268,7 +268,7 @@ class Base(Entity): # all of these have cardinality 0..1 _msg = AuthnRequest() for param in ["scoping", "requested_authn_context", "conditions", - "subject", "scoping"]: + "subject"]: try: _item = kwargs[param] except KeyError: |