Skip to content

Commit ec5d7b4

Browse files
joephayesNicklas Reincke
authored andcommitted
fix(parser.py): remove call to deleted method is_family()
1 parent d492ae8 commit ec5d7b4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

gedcom/parser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,7 @@ def get_families(self, individual, family_type=gedcom.tags.GEDCOM_TAG_FAMILY_SPO
381381

382382
for child_element in individual.get_child_elements():
383383
is_family = (child_element.get_tag() == family_type
384-
and child_element.get_value() in element_dictionary
385-
and element_dictionary[child_element.get_value()].is_family())
384+
and child_element.get_value() in element_dictionary)
386385
if is_family:
387386
families.append(element_dictionary[child_element.get_value()])
388387

0 commit comments

Comments
 (0)