Skip to content

Commit d8b4012

Browse files
kjiwaGaryGriffin
authored andcommitted
FilterRules (DegreesOfSeparation): siblings unreachable when their family has no parents
1 parent 1fd126a commit d8b4012

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

FilterRules/degreesofseparation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ def get_siblings(self, person: Person):
132132
fam_list = person.parent_family_list
133133
for fam_h in fam_list:
134134
fam = self.db.get_raw_family_data(fam_h)
135+
for child_ref in fam.child_ref_list:
136+
self.persons.add(child_ref.ref)
135137
father_h = fam.father_handle
136138
if father_h:
137139
father = self.db.get_raw_person_data(father_h)

0 commit comments

Comments
 (0)