Load stub modules if it's a stub

This commit is contained in:
Dave Halter committed 2020-03-08 11:51:39 +01:00
1 parent 58998748e3
commit a5f7412296
5 files changed
+25 -7

No files matched your search

+1 -1
View File
@@ -207,7 +207,7 @@ def _get_buildout_script_paths(search_path):
def remove_python_path_suffix(path):
for suffix in all_suffixes():
for suffix in all_suffixes() + ['.pyi']:
if path.endswith(suffix):
path = path[:-len(suffix)]
break