From 0a8fa3357b088ecc4a560fa55dc8973a2cd304b4 Mon Sep 17 00:00:00 2001 From: Martin Hawlisch Date: Wed, 30 Mar 2005 20:44:12 +0000 Subject: [PATCH] small typo svn: r4257 --- gramps2/src/plugins/TestcaseGenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps2/src/plugins/TestcaseGenerator.py b/gramps2/src/plugins/TestcaseGenerator.py index c8c36d8d8..096b12d27 100644 --- a/gramps2/src/plugins/TestcaseGenerator.py +++ b/gramps2/src/plugins/TestcaseGenerator.py @@ -210,7 +210,7 @@ class TestcaseGenerator: person2.add_family_handle(fam_h) self.db.commit_person(person2,self.trans) child = self.db.get_person_from_handle(child_h) - person2.add_parent_family_handle(fam_h,RelLib.Person.CHILD_REL_BIRTH,RelLib.Person.CHILD_REL_BIRTH) + child.add_parent_family_handle(fam_h,RelLib.Person.CHILD_REL_BIRTH,RelLib.Person.CHILD_REL_BIRTH) self.db.commit_person(child,self.trans) # Creates a person with an event having a witness reference to a nonexisting person