From 2725773aa015e38971ee64027ef8cf32911a6d98 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 20 Apr 2005 19:19:27 +0000 Subject: [PATCH] update svn: r4386 --- gramps2/src/ReadGedcom.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gramps2/src/ReadGedcom.py b/gramps2/src/ReadGedcom.py index 5399847b4..208c43d35 100644 --- a/gramps2/src/ReadGedcom.py +++ b/gramps2/src/ReadGedcom.py @@ -981,9 +981,9 @@ class GedcomParser: break else: if ftype in rel_types: - self.person.add_parent_family_handle(handle, - RelLib.Person.CHILD_REL_BIRTH, - RelLib.Person.CHILD_REL_BIRTH) + self.person.add_parent_family_handle( + handle, RelLib.Person.CHILD_REL_BIRTH, + RelLib.Person.CHILD_REL_BIRTH) else: if self.person.get_main_parents_family_handle() == handle: self.person.set_main_parent_family_handle(None) @@ -1427,8 +1427,8 @@ class GedcomParser: self.barf(level+1) def parse_adopt_famc(self,level): - mrel = "Adopted" - frel = "Adopted" + mrel = RelLib.Person.CHILD_REL_ADOPT + frel = RelLib.Person.CHILD_REL_ADOPT while 1: matches = self.get_next() if int(matches[0]) < level: