[r21491]MacLocale: Handle AppleCollationOrder returning "root"

svn: r21499
This commit is contained in:
John Ralls 2013-02-28 19:23:04 +00:00
parent d334e0043f
commit d704d9ac4b

View File

@ -183,7 +183,8 @@ def mac_setup_localization(glocale, lang, language):
stdout = subprocess.PIPE).communicate()[0]
except OSError:
pass
if collation == "root":
return None
return collation
def mac_resolve_locale(loc):