diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index c839881dc..1c955c497 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-05-03 Martin Hawlisch + * src/GenericFilter.py (HaveChildren): Match what it should + 2005-05-03 Alex Roitman * doc/gramps-manual/C/usage.xml: Update. * doc/gramps-manual/C/figures/*.png: Add new figures. diff --git a/gramps2/src/GenericFilter.py b/gramps2/src/GenericFilter.py index 6ca7d76bd..6fe6e5e7e 100644 --- a/gramps2/src/GenericFilter.py +++ b/gramps2/src/GenericFilter.py @@ -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