Moved import of ProgressMeter inside prepare methdod; FIXME: use User class instead
svn: r23377
This commit is contained in:
parent
fb704558e2
commit
83fc3ad4e8
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user