1
0
forked from VimPlug/jedi

Some more sys path corrections.

The sys path should be defined more or less in the beginning and not be different for all modules
This commit is contained in:
Dave Halter
2018-02-16 14:39:01 +01:00
parent 6a11b7d89e
commit 039e7ba07b
4 changed files with 8 additions and 14 deletions

View File

@@ -64,9 +64,8 @@ class Project(object):
want. By default the ``sys.path.`` is generated from the
environment (virtualenvs, etc).
:param smart_sys_path: If this is enabled (default), adds paths from
Django, buildout and local directories. Otherwise you will have to
rely on your packages being properly configured on the
``sys.path``.
local directories. Otherwise you will have to rely on your packages
being properly configured on the ``sys.path``.
"""
def py2_comp(path, environment=None, sys_path=None,
smart_sys_path=True, _django=False):