[r21491]MacLocale: Handle AppleCollationOrder returning "root"
svn: r21499
This commit is contained in:
parent
d334e0043f
commit
d704d9ac4b
@ -183,7 +183,8 @@ def mac_setup_localization(glocale, lang, language):
|
|||||||
stdout = subprocess.PIPE).communicate()[0]
|
stdout = subprocess.PIPE).communicate()[0]
|
||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
|
if collation == "root":
|
||||||
|
return None
|
||||||
return collation
|
return collation
|
||||||
|
|
||||||
def mac_resolve_locale(loc):
|
def mac_resolve_locale(loc):
|
||||||
|
Loading…
Reference in New Issue
Block a user