From 83fc3ad4e829f842a0de8b095e6579544354cf8a Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 24 Oct 2013 04:25:17 +0000 Subject: [PATCH] Moved import of ProgressMeter inside prepare methdod; FIXME: use User class instead svn: r23377 --- .../gen/filters/rules/person/_deeprelationshippathbetween.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/gen/filters/rules/person/_deeprelationshippathbetween.py b/gramps/gen/filters/rules/person/_deeprelationshippathbetween.py index b03ac50ed..eeafb655b 100644 --- a/gramps/gen/filters/rules/person/_deeprelationshippathbetween.py +++ b/gramps/gen/filters/rules/person/_deeprelationshippathbetween.py @@ -34,7 +34,6 @@ _ = glocale.translation.gettext # GRAMPS modules # #------------------------------------------------------------------------- -from gramps.gui.utils import ProgressMeter from .. import Rule from . import MatchesFilter @@ -131,6 +130,8 @@ class DeepRelationshipPathBetween(Rule): " Each path is not necessarily the shortest path.") def prepare(self, db): + # FIXME: this should user the User class + from gramps.gui.utils import ProgressMeter root_person_id = self.list[0] root_person = db.get_person_from_gramps_id(root_person_id)