Fix of issue 3480.
svn: r13967
This commit is contained in:
parent
3de66d1b62
commit
7c152a868a
@ -113,7 +113,7 @@ class EventModel(FlatBaseModel):
|
||||
return u''
|
||||
|
||||
def column_type(self,data):
|
||||
return str(gen.lib.EventType(data[COLUMN_TYPE]))
|
||||
return unicode(gen.lib.EventType(data[COLUMN_TYPE]))
|
||||
|
||||
def column_id(self,data):
|
||||
return unicode(data[COLUMN_ID])
|
||||
|
@ -127,7 +127,7 @@ class FamilyModel(FlatBaseModel):
|
||||
return u""
|
||||
|
||||
def column_type(self, data):
|
||||
return str(gen.lib.FamilyRelType(data[5]))
|
||||
return unicode(gen.lib.FamilyRelType(data[5]))
|
||||
|
||||
def column_marriage(self, data):
|
||||
erlist = [ gen.lib.EventRef().unserialize(d) for d in data[6] ]
|
||||
|
@ -229,7 +229,7 @@ class PeopleModel(TreeBaseModel):
|
||||
GrampsLocale.codeset)
|
||||
|
||||
def column_gender(self, data):
|
||||
return PeopleModel._GENDER[data[COLUMN_GENDER]]
|
||||
return unicode(PeopleModel._GENDER[data[COLUMN_GENDER]])
|
||||
|
||||
def column_birth_day(self, data):
|
||||
handle = data[0]
|
||||
|
@ -104,7 +104,7 @@ class RepositoryModel(FlatBaseModel):
|
||||
return unicode(data[1])
|
||||
|
||||
def column_type(self,data):
|
||||
return str(gen.lib.RepositoryType(data[2]))
|
||||
return unicode(gen.lib.RepositoryType(data[2]))
|
||||
|
||||
def column_name(self,data):
|
||||
return unicode(data[3])
|
||||
|
Loading…
Reference in New Issue
Block a user