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)