diff --git a/scripts/modules/bpy/path.py b/scripts/modules/bpy/path.py index dea30c12bec..73539cee5c7 100644 --- a/scripts/modules/bpy/path.py +++ b/scripts/modules/bpy/path.py @@ -366,7 +366,7 @@ def module_names(path, *, recursive=False, package=""): :arg package: Optional string, used as the prefix for module names (without the trailing "."). :type package: str :return: a list of string pairs (module_name, module_file). - :rtype: list[str] + :rtype: list[tuple[str, str]] """ from os.path import join, isfile @@ -451,7 +451,6 @@ def reduce_dirs(dirs): dirs.sort(key=lambda d: len(d)) for i in range(len(dirs) - 1, -1, -1): for j in range(i): - print(i, j) if len(dirs[i]) == len(dirs[j]): break elif is_subdir(dirs[i], dirs[j]):