Fix some more issues with imports and attribute warnings of static analysis.

This commit is contained in:
Dave Halter
2016-12-14 01:35:55 +01:00
parent 4074ca1e84
commit 6c4abcc84c
4 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -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