Merge pull request #1417 from radarhere/flake8

Flake8 fixes
This commit is contained in:
Hugo van Kemenade 2015-09-11 14:57:04 +03:00
commit 82c29f65d3
5 changed files with 13 additions and 11 deletions

View File

@ -2327,6 +2327,7 @@ def open(fp, mode="r"):
#
# Image processing.
def alpha_composite(im1, im2):
"""
Alpha composite im2 over im1.

View File

@ -75,9 +75,10 @@ def install():
pool = Pool(2)
CCompiler.compile = _mp_compile
except Exception as msg:
print("Exception installing mp_compile, proceeding without: %s" % msg)
print("Exception installing mp_compile, proceeding without:"
"%s" % msg)
else:
print("Single threaded build, not installing mp_compile: %s processes" %
MAX_PROCS)
print("Single threaded build, not installing mp_compile:"
"%s processes" % MAX_PROCS)
install()