mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 18:36:17 +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:
|
||||
import locale
|
||||
locale_lang, locale_enc = locale.getlocale()
|
||||
|
|
Loading…
Reference in New Issue
Block a user