GEPS008: Correct Rule import in filters
svn: r19783
This commit is contained in:
parent
8d81b9237f
commit
31bf96496b
@ -34,7 +34,7 @@ from gen.ggettext import gettext as _
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import gen.datehandler
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -36,7 +36,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# "Objects having notes"
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -35,7 +35,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# "Objects having sources"
|
||||
|
@ -36,7 +36,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# "Confidence level"
|
||||
|
@ -34,7 +34,7 @@ from gen.ggettext import gettext as _
|
||||
#-------------------------------------------------------------------------
|
||||
import gen.datehandler
|
||||
from gen.lib import EventType
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.lib import FamilyRelType
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import gen.datehandler
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.lib import NoteType
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# "Families with incomplete events"
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -34,7 +34,7 @@ from gen.ggettext import gettext as _
|
||||
#-------------------------------------------------------------------------
|
||||
import gen.datehandler
|
||||
from gen.lib import EventType,EventRoleType
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from Utils import for_each_ancestor
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -34,7 +34,7 @@ from gen.ggettext import gettext as _
|
||||
#-------------------------------------------------------------------------
|
||||
import gen.datehandler
|
||||
from gen.lib import EventType,EventRoleType
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -34,7 +34,7 @@ from gen.ggettext import gettext as _
|
||||
#-------------------------------------------------------------------------
|
||||
import gen.datehandler
|
||||
from gen.lib import EventType
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
from gen.lib import NameOriginType
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
from gen.lib import NameType
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
from gen.lib import FamilyRelType
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -36,7 +36,7 @@ LOG = logging.getLogger(".citationfilter")
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from Utils import get_source_and_citation_referents
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# "HasTextMatchingSubstringOf"
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
from gen.lib import Person
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
from gen.lib import ChildRefType
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# "People with children"
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -36,7 +36,7 @@ except NameError:
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
from gen.lib import Person
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -37,7 +37,7 @@ except:
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
from gen.lib import Person
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
from gen.lib import EventRoleType, EventType
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# "People with less than 2 parents"
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# "People with multiple marriage records"
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# "People with no marriage records"
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# "People without a birth date"
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# "People without a death date"
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# "People with incomplete events"
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from Utils import probably_alive
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
import gen.datehandler
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
import re
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -32,7 +32,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -35,7 +35,7 @@ except NameError:
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -34,7 +34,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -34,7 +34,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -34,7 +34,7 @@ from gen.ggettext import gettext as _
|
||||
# GRAMPS modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
import PlaceUtils
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -33,7 +33,7 @@ from gen.ggettext import gettext as _
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gen.lib import RepositoryType
|
||||
from gen.filters.rules._rule import Rule
|
||||
from gen.filters.rules import Rule
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user