Skip to content

Commit 09b96dc

Browse files
committed
COMP: Use lowercase python compatible function name.
1 parent 05eef39 commit 09b96dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Wrapping/Generators/Python/itkBase.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def create_itk_module(name):
4040
return l_module
4141

4242

43-
def LoadModule(name, namespace=None):
43+
def itk_load_swig_module(name, namespace=None):
4444
"""This function causes a SWIG module to be loaded into memory after its
4545
dependencies are satisfied. Information about the templates defined therein
4646
is looked up from a config file, and PyTemplate instances for each are
@@ -97,7 +97,7 @@ def LoadModule(name, namespace=None):
9797
if l_data:
9898
deps = sorted(l_data["depends"])
9999
for dep in deps:
100-
LoadModule(dep, namespace)
100+
itk_load_swig_module(dep, namespace)
101101

102102
if itkConfig.ImportCallback:
103103
itkConfig.ImportCallback(name, 0)

0 commit comments

Comments
 (0)