1
0
forked from VimPlug/jedi

Add a better debugging message for import fails.

This commit is contained in:
Dave Halter
2017-04-04 23:27:45 +02:00
parent fb8ed61b87
commit fe5eaaf56c

View File

@@ -413,7 +413,7 @@ def load_module(evaluator, path=None, name=None):
raise
except ImportError:
# If a module is "corrupt" or not really a Python module or whatever.
debug.warning('Module %s not importable.', path)
debug.warning('Module %s not importable in path %s.', dotted_path, path)
return None
finally:
sys.path = temp