diff options
author | Roland Hedberg <roland.hedberg@adm.umu.se> | 2015-03-02 07:52:03 -0800 |
---|---|---|
committer | Roland Hedberg <roland.hedberg@adm.umu.se> | 2015-03-02 07:52:03 -0800 |
commit | d2ebc6b38fcb05b0fdd5cb286a3a7fc24df4029d (patch) | |
tree | aea18086b9555b7ad9d274d61cbfc1c4461edc82 | |
parent | 0f34abb58e0c4cee4ac2897e982fb1b841584937 (diff) | |
parent | a51eee702ad1c584187bba3ee456e29eed987743 (diff) | |
download | pysaml2-d2ebc6b38fcb05b0fdd5cb286a3a7fc24df4029d.tar.gz |
Merge pull request #187 from biancini/master
Fixed problem with metadata extensions
-rw-r--r-- | src/saml2/s_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/s_utils.py b/src/saml2/s_utils.py index 5f9fe42d..47f47c98 100644 --- a/src/saml2/s_utils.py +++ b/src/saml2/s_utils.py @@ -467,7 +467,7 @@ def rec_factory(cls, **kwargs): except Exception: continue else: - setattr(_inst, key, val) + setattr(_inst, _inst.c_attributes[key][0], val) elif key in _inst.c_child_order: for tag, _cls in _inst.c_children.values(): if tag == key: |