From d664fa4aa26e769e9862d9b59fa6f0bebdb8d3dc Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Fri, 8 Jan 2010 15:59:05 +0000 Subject: [PATCH] Fix of issue 3480. svn: r13997 --- src/gui/views/treemodels/peoplemodel.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/views/treemodels/peoplemodel.py b/src/gui/views/treemodels/peoplemodel.py index 8ffe89f48..0a022319a 100644 --- a/src/gui/views/treemodels/peoplemodel.py +++ b/src/gui/views/treemodels/peoplemodel.py @@ -33,7 +33,8 @@ TreeModel for the GRAMPS Person tree. # #------------------------------------------------------------------------- from __future__ import with_statement -from gettext import gettext as _ +#from gettext import gettext as _ +from TransUtils import gettext as _ import time import cgi @@ -229,7 +230,7 @@ class PeopleModel(TreeBaseModel): GrampsLocale.codeset) def column_gender(self, data): - return unicode(PeopleModel._GENDER[data[COLUMN_GENDER]]) + return PeopleModel._GENDER[data[COLUMN_GENDER]] def column_birth_day(self, data): handle = data[0]