From c44c7c08db309117585a12558e4621cd844ff919 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sat, 15 Apr 2006 20:40:00 +0000 Subject: [PATCH] update svn: r6348 --- src/GrampsDb/_GrampsBSDDB.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/GrampsDb/_GrampsBSDDB.py b/src/GrampsDb/_GrampsBSDDB.py index 759e668c0..41b2655bd 100644 --- a/src/GrampsDb/_GrampsBSDDB.py +++ b/src/GrampsDb/_GrampsBSDDB.py @@ -1424,13 +1424,10 @@ class GrampsBSDDB(GrampsDbBase): family = self.get_family_from_handle(family_handle) child_handle_list = [ref.ref for ref in family.child_ref_list] - try: - index = child_handle_list.index(person.handle) - except: - print child_handle_list, person.handle + index = child_handle_list.index(person.handle) child_ref = family.child_ref_list[index] - child_ref.frel = (frel,'') - child_ref.mrel = (mrel,'') + child_ref.frel.set(frel) + child_ref.mrel.set(mrel) self.commit_family(family,trans) # In all Attributes, convert type from string to a tuple