Remove redundant imports
svn: r22838
This commit is contained in:
parent
ee076d2c91
commit
e4efaaa7b7
@ -28,7 +28,6 @@
|
||||
#-------------------------------------------------------------------------
|
||||
from ....const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
import re
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -46,7 +45,7 @@ from ....lib.nameorigintype import NameOriginType
|
||||
class HasNameOf(Rule):
|
||||
"""Rule that checks for full or partial name matches"""
|
||||
|
||||
labels = [ _('Given name:'),
|
||||
labels = [_('Given name:'),
|
||||
_('Full Family name:'),
|
||||
_('person|Title:'),
|
||||
_('Suffix:'),
|
||||
|
@ -35,7 +35,6 @@ _ = glocale.translation.gettext
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from .. import Rule
|
||||
import re
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -47,7 +46,7 @@ class RegExpName(Rule):
|
||||
|
||||
labels = [_('Text:')]
|
||||
name = _('People with a name matching <text>')
|
||||
description = _("Matches people's names with containing a substring or "
|
||||
description = _("Matches people's names containing a substring or "
|
||||
"matching a regular expression")
|
||||
category = _('General filters')
|
||||
allow_regex = True
|
||||
|
Loading…
Reference in New Issue
Block a user