From 4f2b19a733b5b1eddf041bcb5744a20d2189dd0e Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 10 May 2006 20:17:28 +0000 Subject: [PATCH] 2006-05-10 Alex Roitman * src/GrampsDb/_ReadGedcom.py (func_person_attr): Typos. svn: r6610 --- gramps2/ChangeLog | 3 +++ gramps2/src/GrampsDb/_ReadGedcom.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 840e0024f..4b7228f70 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-05-10 Alex Roitman + * src/GrampsDb/_ReadGedcom.py (func_person_attr): Typos. + 2006-05-10 Don Allingham * src/ViewManager.py: remove debug statement * src/PeopleModel.py: use SearchFilter diff --git a/gramps2/src/GrampsDb/_ReadGedcom.py b/gramps2/src/GrampsDb/_ReadGedcom.py index 791e1e176..86a267b9f 100644 --- a/gramps2/src/GrampsDb/_ReadGedcom.py +++ b/gramps2/src/GrampsDb/_ReadGedcom.py @@ -2271,8 +2271,8 @@ class GedcomParser: def func_person_attr(self,matches,state): attr = RelLib.Attribute() n = matches[3] - atype = self.gedattr.get(n,RelLib.Attribute.CUSTOM) - if atype == RelLib.Attribute.CUSTOM: + atype = self.gedattr.get(n,RelLib.AttributeType.CUSTOM) + if atype == RelLib.AttributeType.CUSTOM: attr.set_type((atype,n)) else: attr.set_type(atype)