MacLocale: Handle AppleCollationOrder returning "root"

svn: r21491
This commit is contained in:
John Ralls 2013-02-28 18:57:37 +00:00
parent 1e41e76682
commit ee7fdca6ef

View File

@ -186,7 +186,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):