File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030from Mailman import Utils
3131from Mailman import Errors
3232from Mailman import MemberAdaptor
33+ from Mailman import Autoresponder
3334
3435ISREGULAR = 1
3536ISDIGEST = 2
4142# Actually, fix /all/ errors
4243
4344
44- class OldStyleMemberships (MemberAdaptor .MemberAdaptor ):
45+ class OldStyleMemberships (MemberAdaptor .MemberAdaptor , Autoresponder . Autoresponder ):
4546 def __init__ (self , mlist ):
4647 self .__mlist = mlist
4748 self .archive = mm_cfg .DEFAULT_ARCHIVE # Initialize archive attribute
@@ -52,10 +53,8 @@ def __init__(self, mlist):
5253 self .digest_is_default = mm_cfg .DEFAULT_DIGEST_IS_DEFAULT # Initialize digest_is_default attribute
5354 self .mime_is_default_digest = mm_cfg .DEFAULT_MIME_IS_DEFAULT_DIGEST # Initialize mime_is_default_digest attribute
5455 self ._pending = {} # Initialize _pending dictionary for pending operations
55- self .autoresponse_graceperiod = 90 # days, default from Autoresponder class
56- self .autorespond_admin = mm_cfg .DEFAULT_AUTORESPOND_ADMIN # Initialize autorespond_admin attribute
57- self .autorespond_requests = mm_cfg .DEFAULT_AUTORESPOND_REQUESTS # Initialize autorespond_requests attribute
58- self .autorespond_postings = mm_cfg .DEFAULT_AUTORESPOND_POSTINGS # Initialize autorespond_postings attribute
56+ # Initialize Autoresponder attributes
57+ self .InitVars ()
5958
6059 def GetMailmanHeader (self ):
6160 """Return the standard Mailman header HTML for this list."""
You can’t perform that action at this time.
0 commit comments