File tree 1 file changed +8
-5
lines changed 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -430,14 +430,17 @@ def __getattr__(name):
430
430
raise AttributeError(f"module {__name__} has no attribute {name}")
431
431
432
432
"""
433
+
434
+
433
435
def fix_holoscan_core_import ():
434
- """Fix holoscan submodule core's __init__ to enable lazy load for avoiding failure on loading low level libs.
435
- """
436
+ """Fix holoscan submodule core's __init__ to enable lazy load for avoiding failure on loading low level libs."""
436
437
437
438
holoscan_package_name = "holoscan"
438
439
holoscan_core_module_name = "core"
439
- holoscan_package_path = dist_module_path (holoscan_package_name )
440
- holoscan_core_init_path = Path (holoscan_package_path ) / holoscan_package_name / holoscan_core_module_name / "__init__.py"
440
+ holoscan_package_path = dist_module_path (holoscan_package_name )
441
+ holoscan_core_init_path = (
442
+ Path (holoscan_package_path ) / holoscan_package_name / holoscan_core_module_name / "__init__.py"
443
+ )
441
444
442
445
with open (holoscan_core_init_path , "w" ) as f_w :
443
- f_w .write (holoscan_core_init_content_txt )
446
+ f_w .write (holoscan_core_init_content_txt )
You can’t perform that action at this time.
0 commit comments