mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 10:56:18 +03:00
fix for #272 on SmartOS. Stripping whitespace from string.whitespace.
This commit is contained in:
parent
8268fabc1d
commit
fb19834d21
|
@ -24,7 +24,7 @@ __version__ = "0.2"
|
||||||
#
|
#
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
|
|
||||||
b_whitespace = string.whitespace
|
b_whitespace = string.whitespace.strip()
|
||||||
try:
|
try:
|
||||||
import locale
|
import locale
|
||||||
locale_lang, locale_enc = locale.getlocale()
|
locale_lang, locale_enc = locale.getlocale()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user