aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Gui/Topics.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/Gui/Topics.py b/Mailman/Gui/Topics.py
index 14fac968..96f9b421 100644
--- a/Mailman/Gui/Topics.py
+++ b/Mailman/Gui/Topics.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2006 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2009 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -126,7 +126,8 @@ class Topics(GUIBase):
# Make sure the pattern was a legal regular expression
name = Utils.websafe(name)
try:
- re.compile(pattern)
+ # Tagger compiles in verbose mode so we do too.
+ re.compile(pattern, re.VERBOSE)
except (re.error, TypeError):
safepattern = Utils.websafe(pattern)
doc.addError(_("""The topic pattern '%(safepattern)s' is not a