diff options
author | bwarsaw <> | 2004-02-17 19:00:28 +0000 |
---|---|---|
committer | bwarsaw <> | 2004-02-17 19:00:28 +0000 |
commit | 6e2c96f1163657bc886499035b57e694995605ed (patch) | |
tree | 4cbcbd3f3971e4a12e1bac09f76581e9ef4a8bea /Mailman/Commands/cmd_unsubscribe.py | |
parent | c10a18c31343bf2abcdff558084c298386e65144 (diff) | |
download | mailman2-6e2c96f1163657bc886499035b57e694995605ed.tar.gz mailman2-6e2c96f1163657bc886499035b57e694995605ed.tar.xz mailman2-6e2c96f1163657bc886499035b57e694995605ed.zip |
Rewritten, simplified, and made more bullet-proof. The file read/written is
now a pickle instead the less secure marshal. Other changes:
__filename(): Removed. We'll use the instance variable __filename instead.
__opendb(): Simplified by removing upgrade logic largely duplicated in
_UpdateRecords().
__closedb(): Use pickles and the __filename instance variable.
__request_id(): Removed this since it wasn't thread-safe. It didn't require
the acquisition of the list lock. Replaced with __nextid() which not only
asserts the list lock, but also ensures that the id returned will be unique.
HoldMessage(): Always flush and fsync the heldmsg file.
Various other code improvement.
Diffstat (limited to 'Mailman/Commands/cmd_unsubscribe.py')
0 files changed, 0 insertions, 0 deletions