2004-08-19 Tim Waugh <twaugh@redhat.com>

* src/RelLib.py (probably_alive): Use get_family_from_handle instead
        of find_family_from_handle.


svn: r3441
This commit is contained in:
Tim Waugh 2004-08-19 17:07:37 +00:00
parent 3fa7d9d620
commit 2f7713e586
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
2004-08-19 Tim Waugh <twaugh@redhat.com>
* 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.

View File

@ -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: