From 2f7713e58696154f2358a80f3feb0d7678f265ae Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Thu, 19 Aug 2004 17:07:37 +0000 Subject: [PATCH] 2004-08-19 Tim Waugh * src/RelLib.py (probably_alive): Use get_family_from_handle instead of find_family_from_handle. svn: r3441 --- ChangeLog | 2 ++ src/RelLib.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4dc1359e7..d79907112 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ 2004-08-19 Tim Waugh + * src/RelLib.py (probably_alive): Use get_family_from_handle instead + of find_family_from_handle. * src/WriteGedcom.py (get_persons_sources): Remove extra calls to get_handle() to prevent traceback. * src/gramps_main.py (import_tool_callback): Set home person. diff --git a/src/RelLib.py b/src/RelLib.py index 181f4ec1b..5f4b7c8a2 100644 --- a/src/RelLib.py +++ b/src/RelLib.py @@ -551,7 +551,7 @@ class Person(PrimaryObject,SourceNote): max_age_difference = 60 def descendants_too_old (person, years): for family_handle in person.get_family_handle_list(): - family = db.find_family_from_handle(family_handle) + family = db.get_family_from_handle(family_handle) for child_handle in family.get_child_handle_list(): child = db.get_person_from_handle(child_handle) if child.birth_handle: