summaryrefslogtreecommitdiff
path: root/Mailman/MailList.py
diff options
context:
space:
mode:
authorBarry Warsaw2007-09-27 22:15:00 -0400
committerBarry Warsaw2007-09-27 22:15:00 -0400
commit4a2ca2c159accdca7e1101a94efb5a4499407b72 (patch)
tree1d2d507bbe53cb071aa15095f67edd76434bf836 /Mailman/MailList.py
parent65c64773d910b3b2a3e2a9b9db4669e57170ece2 (diff)
downloadmailman-4a2ca2c159accdca7e1101a94efb5a4499407b72.tar.gz
mailman-4a2ca2c159accdca7e1101a94efb5a4499407b72.tar.zst
mailman-4a2ca2c159accdca7e1101a94efb5a4499407b72.zip
Removed a bunch of files that are obsolete. The interfaces are all folded
into the IMailingList interface. OTOH, MemberAdaptor.py is completely useless now (though not entirely eradicated), as is OldStyleMemberships.py. versions.py isn't necessary any longer either because we'll have to do database migrations (and conversions from MM2.1) completely differently. New command line script 'set_members' which is used to take a CSV file and syncing that to a list's membership. Added back the DeliveryStatus.unknown item because we'll need it when we migrate MM 2.1 databases.
Diffstat (limited to 'Mailman/MailList.py')
-rw-r--r--Mailman/MailList.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index 900daaa11..da37eb6e1 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -279,26 +279,6 @@ class MailList(object, Archiver, Digester, SecurityManager, Bouncer):
#
# Sanity checks
#
- def CheckVersion(self, stored_state):
- """Auto-update schema if necessary."""
- if self.data_version >= Version.DATA_FILE_VERSION:
- return
- # Then reload the database (but don't recurse). Force a reload even
- # if we have the most up-to-date state.
- self.Load(self.fqdn_listname, check_version=False)
- # We must hold the list lock in order to update the schema
- waslocked = self.Locked()
- if not waslocked:
- self.Lock()
- try:
- from versions import Update
- Update(self, stored_state)
- self.data_version = Version.DATA_FILE_VERSION
- self.Save()
- finally:
- if not waslocked:
- self.Unlock()
-
def CheckValues(self):
"""Normalize selected values to known formats."""
if '' in urlparse(self.web_page_url)[:2]: