Skip to content

Commit 6dcda76

Browse files
authored
Merge pull request #5833 from axel-grc/backport/1d36f40-to-itk-5.4-release
BUG: Allow auto registering more than two factories in Python modules
2 parents ea28c4c + b68b386 commit 6dcda76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Wrapping/Generators/Python/itk/support

Wrapping/Generators/Python/itk/support/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def load_factories(factory_name: str) -> None:
360360
import itk
361361

362362
for module_name, data in itk_base_global_module_data.items():
363-
for name, factory_class_prefix in data.get_module_factories()[:2]:
363+
for name, factory_class_prefix in data.get_module_factories():
364364
if name == factory_name:
365365
# Get the factory, loading new modules with itk_load_swig_module as necessary
366366
namespace = dict()

0 commit comments

Comments
 (0)