summaryrefslogtreecommitdiff
path: root/Mailman/TopicMgr.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/TopicMgr.py')
-rw-r--r--Mailman/TopicMgr.py19
1 files changed, 8 insertions, 11 deletions
diff --git a/Mailman/TopicMgr.py b/Mailman/TopicMgr.py
index 27f113fb6..9df1b34a8 100644
--- a/Mailman/TopicMgr.py
+++ b/Mailman/TopicMgr.py
@@ -1,27 +1,24 @@
-# Copyright (C) 2001,2002 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2006 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
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+# USA.
-"""This class mixes in topic feature configuration for mailing lists.
-"""
+"""This class mixes in topic feature configuration for mailing lists."""
import re
-from Mailman import mm_cfg
-from Mailman.i18n import _
-
class TopicMgr:
@@ -46,7 +43,7 @@ class TopicMgr:
# have a name or pattern are not saved when the submit button is
# pressed).
self.topics = []
- self.topics_enabled = 0
+ self.topics_enabled = False
self.topics_bodylines_limit = 5
# Non-configurable
#