1
0
forked from VimPlug/jedi

Remove unused code

This commit is contained in:
Dave Halter
2017-11-01 19:14:54 +01:00
parent 752b7d8d49
commit baafea4a90

View File

@@ -450,10 +450,6 @@ def load_module(evaluator, path=None, name=None):
else:
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
try:
__import__(dotted_path)