From d704d9ac4b723514cc35821987c68474973a50bb Mon Sep 17 00:00:00 2001 From: John Ralls Date: Thu, 28 Feb 2013 19:23:04 +0000 Subject: [PATCH] [r21491]MacLocale: Handle AppleCollationOrder returning "root" svn: r21499 --- gramps/gen/utils/maclocale.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/gen/utils/maclocale.py b/gramps/gen/utils/maclocale.py index eb075f97a..2c34eb6e7 100644 --- a/gramps/gen/utils/maclocale.py +++ b/gramps/gen/utils/maclocale.py @@ -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):