General cleanups some of which is even tested <wink>. Mailman.LockFile module
commit1ad73a52bb9d82ef3af1e34ad9ef66ac2eda2909
authorBarry Warsaw <barry@python.org>
Thu, 11 Oct 2007 03:22:03 +0000 (10 23:22 -0400)
committerBarry Warsaw <barry@python.org>
Thu, 11 Oct 2007 03:22:03 +0000 (10 23:22 -0400)
tree7985eda24e60a39d58c54436e99f975610ee947d
parent15f9e73fdb96a145632e5916cc0073472c014c99
General cleanups some of which is even tested <wink>.  Mailman.LockFile module
is moved to Mailman.lockfile.

Remove a few more MailList methods that aren't used any more, e.g. the lock
related stuff, the Save() and CheckValues() methods, as well as
ChangeMemberName().

Add a missing import to lifecycle.py.

We no longer need withlist to unlock the mailing list.  Also, expose
config.db.flush() in the namespace of withlist directly, under 'flush'.
20 files changed:
Mailman/Archiver/HyperArch.py
Mailman/Archiver/HyperDatabase.py
Mailman/Handlers/Scrubber.py
Mailman/MTA/Manual.py
Mailman/MTA/Postfix.py
Mailman/MailList.py
Mailman/app/lifecycle.py
Mailman/bin/arch.py
Mailman/bin/gate_news.py
Mailman/bin/mailmanctl.py
Mailman/bin/withlist.py
Mailman/database/__init__.py
Mailman/database/usermanager.py
Mailman/lockfile.py [moved from Mailman/LockFile.py with 99% similarity]
Mailman/queue/archive.py
Mailman/queue/bounce.py
Mailman/queue/command.py
Mailman/queue/incoming.py
Mailman/queue/outgoing.py
Mailman/tests/test_lockfile.py