fix for #272 on SmartOS. Stripping whitespace from string.whitespace.

This commit is contained in:
markmiscavage 2017-10-31 09:31:02 -07:00
parent 8268fabc1d
commit fb19834d21

View File

@ -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()