fix: package_path is _NamespacePath, not list

This commit is contained in:
Pavol Vargovcik
2020-01-20 17:51:41 +01:00
parent dd3551f978
commit f3ae35eedd

View File

@@ -4026,7 +4026,7 @@ class _Importer:
has_underscores = True
if package_path:
paths = package_path
paths = list(package_path)
else:
paths = _sys.path
join_path = _os.path.join