mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
[python] PY-76346 T: PythonHelpersLocator.getCommunityHelpersRootPath
Merge-request: IJ-MR-184769 Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com> GitOrigin-RevId: 55bc104407af86ba28010bfea52ad9b901272cb8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
88745cfd3b
commit
cd2b7918ef
@@ -154,9 +154,13 @@ interface PythonHelpersLocator {
|
||||
|
||||
@RequiresBackgroundThread
|
||||
private fun assertHelpersLayout(root: Path): Path {
|
||||
LOG.assertTrue(root.exists(), "Helpers root does not exist $root")
|
||||
if (!root.exists()) {
|
||||
LOG.info("Helpers root does not exist: $root")
|
||||
}
|
||||
listOf("generator3", "pycharm", "pycodestyle.py", "pydev", "syspath.py", "typeshed").forEach { child ->
|
||||
LOG.assertTrue(root.resolve(child).exists(), "No '$child' inside $root")
|
||||
if (!root.resolve(child).exists()) {
|
||||
LOG.info("No '$child' inside $root")
|
||||
}
|
||||
}
|
||||
|
||||
return root
|
||||
|
||||
Reference in New Issue
Block a user