Revert "fix(compile): 移除 Projectrans.py 入口对已删除的 _parallel_translate_worker 的导入"

This reverts commit a341106a74.
This commit is contained in:
TermiNexus committed 2026-08-17 20:28:24 +08:00
1 parent ecdb5c34c5
commit e6b842f46b
1 file changed
+2 -2
+2 -2
View File
@@ -6,7 +6,7 @@ from lib.Projectrans import (
compute_sha1, _check_annotation_for_export, sha1_file,
get_file_dependencies, find_reachable_files_from_entries,
topological_sort_files, Phase1Generator, DeclarationGenerator,
Phase2Translator,
Phase2Translator, _parallel_translate_worker,
save_sha1_map, Load_sha1_map, get_sha1_map_store, clear_sha1_map_store,
Load_project_config, resolve_paths, main
)
@@ -15,7 +15,7 @@ __all__ = [
'compute_sha1', '_check_annotation_for_export', 'sha1_file',
'get_file_dependencies', 'find_reachable_files_from_entries',
'topological_sort_files', 'Phase1Generator', 'DeclarationGenerator',
'Phase2Translator',
'Phase2Translator', '_parallel_translate_worker',
'save_sha1_map', 'Load_sha1_map', 'get_sha1_map_store', 'clear_sha1_map_store',
'Load_project_config', 'resolve_paths', 'main'
]