From 180e579c497a134cce18838ccb2158c0e470789e Mon Sep 17 00:00:00 2001 From: nutti Date: Sun, 1 Oct 2023 18:36:52 +0900 Subject: [PATCH] WIP --- src/fake_bpy_module/generator.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/fake_bpy_module/generator.py b/src/fake_bpy_module/generator.py index 2dde436c5..5ea9820b1 100644 --- a/src/fake_bpy_module/generator.py +++ b/src/fake_bpy_module/generator.py @@ -1228,21 +1228,17 @@ def make_module_dirs(base_path: str, structure: 'ModuleStructure'): def make_dir(path, structure_: 'ModuleStructure', module_level: int): for item in structure_.children(): - print(f"@@@@ {path}/{item.name}") if len(item.children()) == 0: - print(3) if module_level == 0: dir_path = path + "/" + item.name pathlib.Path(dir_path).mkdir( parents=True, exist_ok=True) self._create_py_typed_file(dir_path) - print(1) elif len(item.children()) >= 1: dir_path = path + "/" + item.name pathlib.Path(dir_path).mkdir( parents=True, exist_ok=True) self._create_py_typed_file(dir_path) - print(2) if dir_path == base_path: continue make_dir(dir_path, item, module_level+1)