I guess as FreeBSD's "locale" module doesn't include any of the three methods, we don't need to put an "if hasattr(locale, ..." in front of every statement. "try... except AttributeError" will do just fine.
I'll commit a fix. Thanks again for reporting it!
I guess as FreeBSD's "locale" module doesn't include any of the three methods, we don't need to put an "if hasattr(locale, ..." in front of every statement. "try... except AttributeError" will do just fine.
I'll commit a fix. Thanks again for reporting it!