3943: Crashed whilst exporting to data.gramps using a person filter 'Public'; fixed many filter rules for people
svn: r15374
This commit is contained in:
parent
7044978e72
commit
e7a50282b4
@ -47,4 +47,4 @@ class HaveChildren(Rule):
|
|||||||
def apply(self,db,person):
|
def apply(self,db,person):
|
||||||
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)
|
||||||
return family not None and len(family.get_child_ref_list()) > 0
|
return (family is not None) and len(family.get_child_ref_list()) > 0
|
||||||
|
Loading…
Reference in New Issue
Block a user