diff --git a/ChangeLog b/ChangeLog index bcacc38f1..803616538 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2006-05-14 Alex Roitman + * src/Filters/Rules/Person/_HasNoteRegexp.py: Import re module. + 2006-05-13 Brian Matherly * src/plugins/NarrativeWeb.py: Add option for number of generations in ancestor graph (bug #0000077) diff --git a/src/Filters/Rules/Person/_HasNoteRegexp.py b/src/Filters/Rules/Person/_HasNoteRegexp.py index d54fb6f27..0fd316b2b 100644 --- a/src/Filters/Rules/Person/_HasNoteRegexp.py +++ b/src/Filters/Rules/Person/_HasNoteRegexp.py @@ -25,6 +25,7 @@ # Standard Python modules # #------------------------------------------------------------------------- +import re from gettext import gettext as _ #------------------------------------------------------------------------- @@ -42,7 +43,8 @@ class HasNoteRegexp(Rule): labels = [ _('Regular expression:')] name = _('People having notes containing ') - description = _("Matches people whose notes contain text matching a regular expression") + description = _("Matches people whose notes contain text " + "matching a regular expression") category = _('General filters') def __init__(self, list):