Add a TODO.

This commit is contained in:
Dave Halter
2016-07-20 09:10:31 +02:00
parent b5bd8496b0
commit 7ee08d01fd

View File

@@ -186,6 +186,7 @@ def sys_path_with_modifications(evaluator, module):
return list(evaluator.sys_path)
curdir = os.path.abspath(os.curdir)
#TODO why do we need a chdir?
with common.ignored(OSError):
os.chdir(os.path.dirname(module.path))