diff options
author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2020-06-05 23:24:00 +0300 |
---|---|---|
committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2020-06-05 23:24:34 +0300 |
commit | da5881c3b80104334cb1a2665bea774b74f908c3 (patch) | |
tree | 4e8e771d89b4df5bea12bb826f2f8579a89bab50 | |
parent | d2ab6631971c8278df0e7cd7f3c7e8c341c9d9c4 (diff) | |
download | pysaml2-da5881c3b80104334cb1a2665bea774b74f908c3.tar.gz |
Fix attribute maps order
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
-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 bc937702..adfe659d 100644 --- a/src/saml2/attribute_converter.py +++ b/src/saml2/attribute_converter.py @@ -62,7 +62,7 @@ def ac_factory(path=""): if path not in sys.path: sys.path.insert(0, path) - for fil in os.listdir(path): + for fil in sorted(os.listdir(path)): if fil.endswith(".py"): mod = import_module(fil[:-3]) for key, item in mod.__dict__.items(): |