mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-29 11:26:17 +03:00
Add newlines to error message for clarity
This commit is contained in:
parent
0cd84cf9b3
commit
96abb60059
|
@ -56,8 +56,9 @@ try:
|
||||||
from . import _imaging as core
|
from . import _imaging as core
|
||||||
if PILLOW_VERSION != getattr(core, 'PILLOW_VERSION', None):
|
if PILLOW_VERSION != getattr(core, 'PILLOW_VERSION', None):
|
||||||
raise ImportError("The _imaging extension was built for another "
|
raise ImportError("The _imaging extension was built for another "
|
||||||
"version of Pillow or PIL: Core Version: %s"
|
"version of Pillow or PIL:\n"
|
||||||
"Pillow Version: %s" %
|
"Core version: %s\n"
|
||||||
|
"Pillow version: %s" %
|
||||||
(getattr(core, 'PILLOW_VERSION', None),
|
(getattr(core, 'PILLOW_VERSION', None),
|
||||||
PILLOW_VERSION))
|
PILLOW_VERSION))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user