From ee076d2c91d0c9a38ae45cc67b764383001fad1c Mon Sep 17 00:00:00 2001 From: John Ralls Date: Fri, 9 Aug 2013 20:01:42 +0000 Subject: [PATCH] [r22833]Fix crash when Gramps is passed an invalid locale svn: r22836 --- gramps/gen/utils/cast.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gramps/gen/utils/cast.py b/gramps/gen/utils/cast.py index 799db27af..91ea58c2b 100644 --- a/gramps/gen/utils/cast.py +++ b/gramps/gen/utils/cast.py @@ -43,7 +43,6 @@ LOG = logging.getLogger(".") #------------------------------------------------------------------------- from ..const import GRAMPS_LOCALE as glocale _ = glocale.translation.gettext -from ..datehandler import codeset from ..constfunc import conv_to_unicode, conv_to_unicode_direct, UNITYPE, STRTYPE #strings in database are utf-8