MacLocale: Handle AppleCollationOrder returning "root"
svn: r21491
This commit is contained in:
parent
1e41e76682
commit
ee7fdca6ef
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user