1
0
forked from VimPlug/jedi
Files
jedi-fork/jedi/api
Sam Roeca c2fd7b3104 Fix: upward search omits unnecessary paths
In the previous implementation, Jedi's traverse_parents function
traversed parent directories to the system root every time. This would
inadvertently add every folder to the system root every time. Obviously,
this is not the behavior desired for the import system.

This commit collects directories in an upward search until we:

1. Hit any directory without an __init__.py, AND
2. Are above self._path.
2019-11-29 21:12:12 -05:00
..
2019-08-16 11:44:30 +02:00
2019-08-24 14:38:45 +02:00
2019-08-21 09:31:23 +02:00
2019-08-20 09:09:19 +02:00
2019-08-16 11:44:30 +02:00