From 7addd50d0085d241d83d97a9e563174d285ad4b5 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 --- ChangeLog | 3 +++ src/Filters/Rules/Person/_HasNoteRegexp.py | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) 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):