Remove redundant imports

svn: r22839
This commit is contained in:
Nick Hall 2013-08-09 21:37:34 +00:00
parent 9e213e0090
commit b8f62b8917
2 changed files with 2 additions and 4 deletions

View File

@ -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:'),

View File

@ -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