Skip to content

Commit 2e0035e

Browse files
author
Dan Sully
authored
Fix import_module call.
1 parent 5c63aa6 commit 2e0035e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/mdstore.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ def imp(self, spec):
930930
raise SAMLError("Misconfiguration in metadata %s" % item)
931931
mod, clas = key.rsplit('.', 1)
932932
try:
933-
mod = import_module(mod)
933+
mod = importlib.import_module(mod)
934934
MDloader = getattr(mod, clas)
935935
except (ImportError, AttributeError):
936936
raise SAMLError("Unknown metadata loader %s" % key)

0 commit comments

Comments
 (0)