diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index bcacc38f1..803616538 100644 --- a/gramps2/ChangeLog +++ b/gramps2/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/gramps2/src/Filters/Rules/Person/_HasNoteRegexp.py b/gramps2/src/Filters/Rules/Person/_HasNoteRegexp.py index d54fb6f27..0fd316b2b 100644 --- a/gramps2/src/Filters/Rules/Person/_HasNoteRegexp.py +++ b/gramps2/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):