* src/GenericFilter.py (HaveChildren): Match what it should
svn: r4476
This commit is contained in:
@ -1,3 +1,6 @@
|
|||||||
|
2005-05-03 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||||
|
* src/GenericFilter.py (HaveChildren): Match what it should
|
||||||
|
|
||||||
2005-05-03 Alex Roitman <shura@gramps-project.org>
|
2005-05-03 Alex Roitman <shura@gramps-project.org>
|
||||||
* doc/gramps-manual/C/usage.xml: Update.
|
* doc/gramps-manual/C/usage.xml: Update.
|
||||||
* doc/gramps-manual/C/figures/*.png: Add new figures.
|
* doc/gramps-manual/C/figures/*.png: Add new figures.
|
||||||
|
@ -1601,7 +1601,7 @@ class HaveChildren(Rule):
|
|||||||
|
|
||||||
def apply(self,db,p_id):
|
def apply(self,db,p_id):
|
||||||
p = db.get_person_from_handle(p_id)
|
p = db.get_person_from_handle(p_id)
|
||||||
for (family_handle,rel1,rel2) in p.get_parent_family_handle_list():
|
for family_handle in p.get_family_handle_list():
|
||||||
family = db.get_family_from_handle(family_handle)
|
family = db.get_family_from_handle(family_handle)
|
||||||
return len(family.get_child_handle_list()) > 0
|
return len(family.get_child_handle_list()) > 0
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user