mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-35423: Add helpers dir to sys.path.
Env plugin could break PYTHONPATH. Helpers import each other, so we need to have helpers dir in sys.path GitOrigin-RevId: d47b763765f6ff26ab77898f03008c4078e28acc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2e5d188735
commit
fea6370f55
@@ -51,6 +51,9 @@ class _TreeManagerHolder(object):
|
||||
return self._manager_imp
|
||||
|
||||
def _fill_manager(self):
|
||||
path = os.path.dirname(os.path.realpath(__file__))
|
||||
if path not in sys.path:
|
||||
sys.path.append(path)
|
||||
if self.parallel:
|
||||
from _jb_parallel_tree_manager import ParallelTreeManager
|
||||
self._manager_imp = ParallelTreeManager()
|
||||
|
||||
Reference in New Issue
Block a user