From 899765beb67c93f7230c0d212cef6288c4d3c04b Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 22 Sep 2016 13:58:46 -0400 Subject: [PATCH] Revert "Take care of possibly missing family" This reverts commit cb1a8e85b649c8c1fb0b6f429b207759a47dc0c7. --- gramps/gen/filters/rules/person/_isduplicatedancestorof.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gramps/gen/filters/rules/person/_isduplicatedancestorof.py b/gramps/gen/filters/rules/person/_isduplicatedancestorof.py index b5caa6580..33f270d03 100644 --- a/gramps/gen/filters/rules/person/_isduplicatedancestorof.py +++ b/gramps/gen/filters/rules/person/_isduplicatedancestorof.py @@ -33,7 +33,6 @@ _ = glocale.translation.gettext # #------------------------------------------------------------------------- from .. import Rule -from gramps.gen.errors import HandleError #------------------------------------------------------------------------- # @@ -67,11 +66,7 @@ class IsDuplicatedAncestorOf(Rule): def init_ancestor_list(self, db, person): fam_id = person.get_main_parents_family_handle() - try: - fam = db.get_family_from_handle(fam_id) - except HandleError: - # no such family; ignore - fam = None + fam = db.get_family_from_handle(fam_id) if fam: f_id = fam.get_father_handle() m_id = fam.get_mother_handle()