summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-02-15 16:02:31 +0000
committerbwarsaw2001-02-15 16:02:31 +0000
commit611feb0556785867bc35e699d250aa115a8cd62a (patch)
treed41fe5c8d9312da47b9460100ea4f5379f755e02
parente4a7a2013161e63adec94a7a302ae0d94098617f (diff)
downloadmailman-611feb0556785867bc35e699d250aa115a8cd62a.tar.gz
mailman-611feb0556785867bc35e699d250aa115a8cd62a.tar.zst
mailman-611feb0556785867bc35e699d250aa115a8cd62a.zip
-rw-r--r--Mailman/versions.py25
1 files changed, 14 insertions, 11 deletions
diff --git a/Mailman/versions.py b/Mailman/versions.py
index c5ba343bd..5d48e4dd5 100644
--- a/Mailman/versions.py
+++ b/Mailman/versions.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998,1999,2000 by the Free Software Foundation, Inc.
+# Copyright (C) 1998,1999,2000,2001 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
@@ -58,6 +58,8 @@ def Update(l, stored_state):
def ZapOldVars(l):
if hasattr(l, 'num_spawns'):
del l.num_spawns
+ if hasattr(l, 'filter_prog'):
+ del l.filter_prog
@@ -179,16 +181,17 @@ def NewVars(l):
setattr(l, attr, initval)
# 1.2 beta 1, baw 18-Feb-2000
# Autoresponder mixin class attributes
- add_only_if_missing('autorespond_postings', 0, l)
- add_only_if_missing('autorespond_admin', 0, l)
- add_only_if_missing('autorespond_requests', 0, l)
- add_only_if_missing('autoresponse_postings_text', '', l)
- add_only_if_missing('autoresponse_admin_text', '', l)
- add_only_if_missing('autoresponse_request_text', '', l)
- add_only_if_missing('autoresponse_graceperiod', 90, l)
- add_only_if_missing('postings_responses', {}, l)
- add_only_if_missing('admin_responses', {}, l)
- add_only_if_missing('reply_goes_to_list', '', l)
+ add_only_if_missing('autorespond_postings', 0)
+ add_only_if_missing('autorespond_admin', 0)
+ add_only_if_missing('autorespond_requests', 0)
+ add_only_if_missing('autoresponse_postings_text', '')
+ add_only_if_missing('autoresponse_admin_text', '')
+ add_only_if_missing('autoresponse_request_text', '')
+ add_only_if_missing('autoresponse_graceperiod', 90)
+ add_only_if_missing('postings_responses', {})
+ add_only_if_missing('admin_responses', {})
+ add_only_if_missing('reply_goes_to_list', '')
+ add_only_if_missing('preferred_language', mm_cfg.DEFAULT_SERVER_LANGUAGE)