From 32d9a0656d403472d5e80fed2faf19b2d291fbcb Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Tue, 17 Sep 2013 08:55:53 +0200 Subject: [PATCH] Text and format edits. --- src/saml2/entity_category/swamid.py | 2 +- src/saml2/samlp.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/saml2/entity_category/swamid.py b/src/saml2/entity_category/swamid.py index 808d100..2dabd41 100644 --- a/src/saml2/entity_category/swamid.py +++ b/src/saml2/entity_category/swamid.py @@ -9,7 +9,7 @@ OTHER = ["eduPersonPrincipalName", "eduPersonScopedAffiliation", "mail"] RESEARCH_AND_EDUCATION = "http://www.swamid.se/category/research-and-education" SFS_1993_1153 = "http://www.swamid.se/category/sfs-1993-1153" -# presently these don't +# presently these don't by themself EU = "http://www.swamid.se/category/eu-adequate-protection" NREN = "http://www.swamid.se/category/nren-service" HEI = "http://www.swamid.se/category/hei-service" diff --git a/src/saml2/samlp.py b/src/saml2/samlp.py index 22e8342..67e1c55 100644 --- a/src/saml2/samlp.py +++ b/src/saml2/samlp.py @@ -482,8 +482,8 @@ class RequestedAuthnContextType_(SamlBase): c_cardinality = SamlBase.c_cardinality.copy() c_children[ '{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextClassRef'] = ( - 'authn_context_class_ref', - [saml.AuthnContextClassRef]) + 'authn_context_class_ref', + [saml.AuthnContextClassRef]) c_cardinality['authn_context_class_ref'] = {"min": 0} c_children['{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContextDeclRef'] = ( 'authn_context_decl_ref',