1
0
forked from VimPlug/jedi

Revert "Fix: no longer shows folders recursively to root"

This reverts commit 03b4177d3d.
This commit is contained in:
Sam Roeca
2019-11-29 20:11:23 -05:00
parent 03b4177d3d
commit 4bc4f167e9
2 changed files with 6 additions and 25 deletions

View File

@@ -110,10 +110,7 @@ class Project(object):
suffixed += discover_buildout_paths(inference_state, inference_state.script_path)
if add_parent_paths:
traversed = list(traverse_parents(
inference_state.script_path,
root=self._path,
))
traversed = list(traverse_parents(inference_state.script_path))
# AFAIK some libraries have imports like `foo.foo.bar`, which
# leads to the conclusion to by default prefer longer paths