diff options
| author | viega | 1998-06-12 09:57:49 +0000 |
|---|---|---|
| committer | viega | 1998-06-12 09:57:49 +0000 |
| commit | 8abb405f2473f9cacb20649ab79cb91aaac16e7e (patch) | |
| tree | 187717313571167f897b0c0de3d62f71595193bf /Mailman/MailList.py | |
| parent | 31540a87a69ec5aa3c5ab6ce763ed43af7a9975a (diff) | |
| download | mailman-8abb405f2473f9cacb20649ab79cb91aaac16e7e.tar.gz mailman-8abb405f2473f9cacb20649ab79cb91aaac16e7e.tar.zst mailman-8abb405f2473f9cacb20649ab79cb91aaac16e7e.zip | |
Diffstat (limited to 'Mailman/MailList.py')
| -rw-r--r-- | Mailman/MailList.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py index 6e946dc6c..8cf620eca 100644 --- a/Mailman/MailList.py +++ b/Mailman/MailList.py @@ -153,9 +153,10 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin, mm_cfg.DEFAULT_REQUIRE_EXPLICIT_DESTINATION self.acceptable_aliases = mm_cfg.DEFAULT_ACCEPTABLE_ALIASES self.reminders_to_admins = mm_cfg.DEFAULT_REMINDERS_TO_ADMINS + self.send_reminders = mm_cfg.DEFAULT_SEND_REMINDERS self.bounce_matching_headers = \ mm_cfg.DEFAULT_BOUNCE_MATCHING_HEADERS - self.anonymous_list = 0 + self.anonymous_list = mm_cfg.DEFAULT_ANONYMOUS_LIST self.real_name = '%s%s' % (string.upper(self._internal_name[0]), self._internal_name[1:]) self.description = '' @@ -279,6 +280,10 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin, ' - it will have "-admin" appended to the member\'s account' " name."), + ('send_reminders', mm_cfg.Radio, ('No', 'Yes'), 0, + 'Send monthly password reminders or no? Overrides the previous ' + 'option.'), + ('admin_immed_notify', mm_cfg.Radio, ('No', 'Yes'), 0, 'Should administrator get immediate notice of new requests, ' 'as well as daily notices about collected ones?', @@ -530,7 +535,7 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin, fname = os.path.join(self._full_path, 'config.db') fname_last = fname + ".last" if os.path.exists(fname_last): - os.unlink(fname_last) + os.unlink(fname_last) if os.path.exists(fname): os.link(fname, fname_last) os.unlink(fname) @@ -580,13 +585,11 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin, type(self.data_version) == type(mm_cfg.DATA_FILE_VERSION)): return else: - print "updating..." self.InitVars() # Init any new variables, self.Load(check_version = 0) # then reload the file from versions import Update Update(self, stored_state) - - self.data_version = mm_cfg.DATA_FILE_VERSION + self.data_version = mm_cfg.DATA_FILE_VERSION self.Save() def CheckValues(self): |
