summaryrefslogtreecommitdiff
path: root/Mailman/Autoresponder.py
diff options
context:
space:
mode:
authorbwarsaw2006-12-29 22:20:25 +0000
committerbwarsaw2006-12-29 22:20:25 +0000
commitf4a456a83b630feb294724ab462c87ca1ce1c3ae (patch)
treec5c88540dae8306d11671f603d8975b01803ea16 /Mailman/Autoresponder.py
parentae185106a624bfa7888aa8722d35194d3c5150e8 (diff)
downloadmailman-f4a456a83b630feb294724ab462c87ca1ce1c3ae.tar.gz
mailman-f4a456a83b630feb294724ab462c87ca1ce1c3ae.tar.zst
mailman-f4a456a83b630feb294724ab462c87ca1ce1c3ae.zip
Diffstat (limited to 'Mailman/Autoresponder.py')
-rw-r--r--Mailman/Autoresponder.py22
1 files changed, 9 insertions, 13 deletions
diff --git a/Mailman/Autoresponder.py b/Mailman/Autoresponder.py
index aa29e733c..bfa3d3c09 100644
--- a/Mailman/Autoresponder.py
+++ b/Mailman/Autoresponder.py
@@ -1,32 +1,29 @@
-# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-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.
-"""MailList mixin class managing the autoresponder.
-"""
-
-from Mailman import mm_cfg
-from Mailman.i18n import _
+"""MailList mixin class managing the autoresponder."""
class Autoresponder:
def InitVars(self):
# configurable
- self.autorespond_postings = 0
- self.autorespond_admin = 0
+ self.autorespond_postings = False
+ self.autorespond_admin = False
# this value can be
# 0 - no autoresponse on the -request line
# 1 - autorespond, but discard the original message
@@ -40,4 +37,3 @@ class Autoresponder:
self.postings_responses = {}
self.admin_responses = {}
self.request_responses = {}
-