From 33246ec700e890c1306d84fe4034eeee02c34732 Mon Sep 17 00:00:00 2001 From: Jason Salaz Date: Sat, 19 Jun 2004 03:50:52 +0000 Subject: [PATCH] src/plugins/ReadGedcom.py: Fixed typos preventing import svn: r3216 --- ChangeLog | 3 +++ src/plugins/ReadGedcom.py | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) 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":