Merge pull request #2951 from hugovk/2950-install-not-iterable

Fix "TypeError: 'NoneType' object is not iterable" for PPC and CRUX
This commit is contained in:
wiredfool 2018-01-24 10:51:46 +00:00 committed by GitHub
commit bae2613ed6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -368,7 +368,7 @@ class pil_build_ext(build_ext):
for platform_ in arch_tp:
dirs = libdirs.get(platform_, None)
if not platform_:
if not dirs:
continue
for path in dirs:
_add_directory(library_dirs, path)