From d35c6af27d9d9b22cb40532c1468188c6e96303b Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 14 May 2006 17:58:40 +0000 Subject: [PATCH] 2006-05-14 Alex Roitman * src/Filters/Rules/Person/_HasNoteRegexp.py: Import re module. svn: r6653 --- gramps2/ChangeLog | 3 +++ gramps2/src/Filters/Rules/Person/_HasNoteRegexp.py | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) 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):