diff options
author | Dan Sully <daniel-github@electricrain.com> | 2016-10-26 10:49:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-26 10:49:22 -0400 |
commit | 2e0035e4fa125e6a3e7e20c99209a0e6083bb06d (patch) | |
tree | 6d68f8723880e0643791d69830fc3b15256c26ac | |
parent | 5c63aa6f88440ec708ceb39d179bf1d61a878426 (diff) | |
download | pysaml2-2e0035e4fa125e6a3e7e20c99209a0e6083bb06d.tar.gz |
Fix import_module call.
-rw-r--r-- | src/saml2/mdstore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/mdstore.py b/src/saml2/mdstore.py index 55c90fa0..eff75c8b 100644 --- a/src/saml2/mdstore.py +++ b/src/saml2/mdstore.py @@ -930,7 +930,7 @@ class MetadataStore(MetaData): raise SAMLError("Misconfiguration in metadata %s" % item) mod, clas = key.rsplit('.', 1) try: - mod = import_module(mod) + mod = importlib.import_module(mod) MDloader = getattr(mod, clas) except (ImportError, AttributeError): raise SAMLError("Unknown metadata loader %s" % key) |