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:
parent
3fa7d9d620
commit
2f7713e586
@ -1,4 +1,6 @@
|
|||||||
2004-08-19 Tim Waugh <twaugh@redhat.com>
|
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
|
* src/WriteGedcom.py (get_persons_sources): Remove extra calls to
|
||||||
get_handle() to prevent traceback.
|
get_handle() to prevent traceback.
|
||||||
* src/gramps_main.py (import_tool_callback): Set home person.
|
* src/gramps_main.py (import_tool_callback): Set home person.
|
||||||
|
@ -551,7 +551,7 @@ class Person(PrimaryObject,SourceNote):
|
|||||||
max_age_difference = 60
|
max_age_difference = 60
|
||||||
def descendants_too_old (person, years):
|
def descendants_too_old (person, years):
|
||||||
for family_handle in person.get_family_handle_list():
|
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():
|
for child_handle in family.get_child_handle_list():
|
||||||
child = db.get_person_from_handle(child_handle)
|
child = db.get_person_from_handle(child_handle)
|
||||||
if child.birth_handle:
|
if child.birth_handle:
|
||||||
|
Loading…
Reference in New Issue
Block a user