Adapt to changes in RelLib
svn: r6336
This commit is contained in:
parent
b733444af0
commit
db27730b91
@ -1,6 +1,7 @@
|
|||||||
2006-04-13 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
2006-04-13 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||||
* src/DataViews/_PedigreeView.py: Adapt to changes in RelLib
|
* src/DataViews/_PedigreeView.py: Adapt to changes in RelLib
|
||||||
* src/plugins/TestcaseGenerator.py: Adapt to changes in RelLib
|
* src/plugins/TestcaseGenerator.py: Adapt to changes in RelLib
|
||||||
|
* src/Utils.py: Adapt to changes in RelLib
|
||||||
|
|
||||||
2006-04-13 Don Allingham <don@gramps-project.org>
|
2006-04-13 Don Allingham <don@gramps-project.org>
|
||||||
* src/DataViews/_FamilyView.py: remove bad tab
|
* src/DataViews/_FamilyView.py: remove bad tab
|
||||||
|
@ -720,7 +720,7 @@ def for_each_ancestor(db, start, func, data):
|
|||||||
doneIds[p_handle] = 1
|
doneIds[p_handle] = 1
|
||||||
if func(data,p_handle):
|
if func(data,p_handle):
|
||||||
return 1
|
return 1
|
||||||
for fam_handle, mrel, frel in p.get_parent_family_handle_list():
|
for fam_handle in p.get_parent_family_handle_list():
|
||||||
fam = db.get_family_from_handle(fam_handle)
|
fam = db.get_family_from_handle(fam_handle)
|
||||||
if fam:
|
if fam:
|
||||||
f_handle = fam.get_father_handle()
|
f_handle = fam.get_father_handle()
|
||||||
@ -924,7 +924,8 @@ def probably_alive(person,db,current_year=None,limit=0):
|
|||||||
for family_handle in person.get_family_handle_list():
|
for family_handle in person.get_family_handle_list():
|
||||||
family = db.get_family_from_handle(family_handle)
|
family = db.get_family_from_handle(family_handle)
|
||||||
|
|
||||||
for child_handle in family.get_child_handle_list():
|
for child_ref in family.get_child_ref_list():
|
||||||
|
child_handle = child_ref.ref
|
||||||
child = db.get_person_from_handle(child_handle)
|
child = db.get_person_from_handle(child_handle)
|
||||||
if child.birth_ref:
|
if child.birth_ref:
|
||||||
child_birth = db.get_event_from_handle(child.birth_ref.ref)
|
child_birth = db.get_event_from_handle(child.birth_ref.ref)
|
||||||
|
Loading…
Reference in New Issue
Block a user