* src/GenericFilter.py (HaveChildren): Match what it should

svn: r4476
This commit is contained in:
Martin Hawlisch 2005-05-03 19:39:04 +00:00
parent b797fc392a
commit 7c49fac9a9
2 changed files with 4 additions and 1 deletions

View File

@ -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>
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/figures/*.png: Add new figures.

View File

@ -1601,7 +1601,7 @@ class HaveChildren(Rule):
def apply(self,db,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)
return len(family.get_child_handle_list()) > 0