diff --git a/ChangeLog b/ChangeLog index 90769919b..c4a8f52c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2004-06-18 Jason Salaz + * src/plugins/ReadGedcom.py Fixed typos preventing import. (i.e. set_type instead of SetType, etc.) + 2004-06-14 Don Allingham * src/RelLib.py: fix index for place map * src/FamilyView.py: include person ID's diff --git a/src/plugins/ReadGedcom.py b/src/plugins/ReadGedcom.py index 19e0caa39..bf6bd4b26 100644 --- a/src/plugins/ReadGedcom.py +++ b/src/plugins/ReadGedcom.py @@ -871,9 +871,9 @@ class GedcomParser: pass elif matches[1] in ["AFN","RFN","_UID"]: attr = RelLib.Attribute() - attr.setType(matches[1]) - attr.setValue(matches[2]) - self.person.addAttribute(attr) + attr.set_type(matches[1]) + attr.set_value(matches[2]) + self.person.add_attribute(attr) elif matches[1] in ["CHAN","ASSO","ANCI","DESI","RIN"]: self.ignore_sub_junk(2) else: @@ -1097,7 +1097,7 @@ class GedcomParser: elif matches[1] == "TEMP": value = extract_temple(matches) if value: - ord.setTemple(value) + ord.set_temple(value) elif matches[1] == "DATE": ord.set_date_object(self.extract_date(matches[2])) elif matches[1] == "FAMC":