mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-14 05:36:48 +03:00
Flake8 fixes
This commit is contained in:
parent
eecb1ffcad
commit
105e963505
|
@ -2327,6 +2327,7 @@ def open(fp, mode="r"):
|
||||||
#
|
#
|
||||||
# Image processing.
|
# Image processing.
|
||||||
|
|
||||||
|
|
||||||
def alpha_composite(im1, im2):
|
def alpha_composite(im1, im2):
|
||||||
"""
|
"""
|
||||||
Alpha composite im2 over im1.
|
Alpha composite im2 over im1.
|
||||||
|
|
|
@ -75,9 +75,10 @@ def install():
|
||||||
pool = Pool(2)
|
pool = Pool(2)
|
||||||
CCompiler.compile = _mp_compile
|
CCompiler.compile = _mp_compile
|
||||||
except Exception as msg:
|
except Exception as msg:
|
||||||
print("Exception installing mp_compile, proceeding without: %s" % msg)
|
print("Exception installing mp_compile, proceeding without:"
|
||||||
|
"%s" % msg)
|
||||||
else:
|
else:
|
||||||
print("Single threaded build, not installing mp_compile: %s processes" %
|
print("Single threaded build, not installing mp_compile:"
|
||||||
MAX_PROCS)
|
"%s processes" % MAX_PROCS)
|
||||||
|
|
||||||
install()
|
install()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user