aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Commands/cmd_join.py
diff options
context:
space:
mode:
authorbwarsaw <>2004-02-17 19:00:28 +0000
committerbwarsaw <>2004-02-17 19:00:28 +0000
commit6e2c96f1163657bc886499035b57e694995605ed (patch)
tree4cbcbd3f3971e4a12e1bac09f76581e9ef4a8bea /Mailman/Commands/cmd_join.py
parentc10a18c31343bf2abcdff558084c298386e65144 (diff)
downloadmailman2-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_join.py')
0 files changed, 0 insertions, 0 deletions