diff options
author | skoranda <skoranda@gmail.com> | 2017-08-24 15:24:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 15:24:36 -0500 |
commit | 9cbbd9bd9f6bfa5e9ceace064dd1af4e2ff2f68c (patch) | |
tree | 9f307702a78e68969e215a1f5f94417fb77da2c4 | |
parent | 5d7f27eeb81f2d4726fa9bd47a20a49564658dc8 (diff) | |
parent | 29b586df481421430193a234309f620f2f50dfbd (diff) | |
download | pysaml2-9cbbd9bd9f6bfa5e9ceace064dd1af4e2ff2f68c.tar.gz |
Merge pull request #442 from jkakavas/fix_441
attr might not be in _fro. Resolves #441
-rw-r--r-- | src/saml2/attribute_converter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/attribute_converter.py b/src/saml2/attribute_converter.py index 3d52a816..3d32d226 100644 --- a/src/saml2/attribute_converter.py +++ b/src/saml2/attribute_converter.py @@ -246,7 +246,7 @@ def get_local_name(acs, attr, name_format): for aconv in acs: #print(ac.format, name_format) if aconv.name_format == name_format: - return aconv._fro[attr] + return aconv._fro.get(attr) def d_to_local_name(acs, attr): |