1
0
forked from VimPlug/jedi

evaluate.project doesn't exist anymore. Eliminated code that used it

This commit is contained in:
Dave Halter
2018-01-17 19:07:44 +01:00
parent bf0b6741aa
commit 4e4f75c882
2 changed files with 1 additions and 5 deletions

View File

@@ -7,7 +7,6 @@ from collections import namedtuple
# `shutil.which`.
from distutils.spawn import find_executable
from jedi.evaluate.project import Project
from jedi.cache import memoize_method
from jedi.evaluate.compiled.subprocess import get_subprocess, \
EvaluatorSameProcess, EvaluatorSubprocess
@@ -24,9 +23,6 @@ class InvalidPythonEnvironment(Exception):
class _BaseEnvironment(object):
def get_project(self):
return Project(self.get_sys_path())
@memoize_method
def get_grammar(self):
version_string = '%s.%s' % (self.version_info.major, self.version_info.minor)