forked from VimPlug/jedi
Fix some more issues with imports and attribute warnings of static analysis.
This commit is contained in:
@@ -357,7 +357,7 @@ class Importer(object):
|
||||
sys.path = temp
|
||||
except ImportError:
|
||||
# The module is not a package.
|
||||
_add_error(parent_module, import_path[-1])
|
||||
_add_error(self.module_context, import_path[-1])
|
||||
return set()
|
||||
|
||||
source = None
|
||||
|
||||
Reference in New Issue
Block a user