mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-18 11:35:57 +08:00
Add a TODO.
This commit is contained in:
@@ -186,6 +186,7 @@ def sys_path_with_modifications(evaluator, module):
|
|||||||
return list(evaluator.sys_path)
|
return list(evaluator.sys_path)
|
||||||
|
|
||||||
curdir = os.path.abspath(os.curdir)
|
curdir = os.path.abspath(os.curdir)
|
||||||
|
#TODO why do we need a chdir?
|
||||||
with common.ignored(OSError):
|
with common.ignored(OSError):
|
||||||
os.chdir(os.path.dirname(module.path))
|
os.chdir(os.path.dirname(module.path))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user