forked from VimPlug/jedi
Remove unused code
This commit is contained in:
@@ -450,10 +450,6 @@ def load_module(evaluator, path=None, name=None):
|
|||||||
else:
|
else:
|
||||||
dotted_path = name
|
dotted_path = name
|
||||||
|
|
||||||
if dotted_path is None:
|
|
||||||
p, _, dotted_path = path.partition(os.path.sep)
|
|
||||||
sys_path.insert(0, p)
|
|
||||||
|
|
||||||
temp, sys.path = sys.path, sys_path
|
temp, sys.path = sys.path, sys_path
|
||||||
try:
|
try:
|
||||||
__import__(dotted_path)
|
__import__(dotted_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user