summaryrefslogtreecommitdiff
path: root/Mailman/Archiver/HyperDatabase.py
diff options
context:
space:
mode:
authorbwarsaw1999-08-21 04:46:31 +0000
committerbwarsaw1999-08-21 04:46:31 +0000
commit7a65eed3b335d9c8f688bcada7b5d87836564c12 (patch)
treedf9b3ee60b39ce7142b76813495f1cf45ea90b16 /Mailman/Archiver/HyperDatabase.py
parent221aff3fcb5fe7be8ac36d940107beea8c8e6ace (diff)
downloadmailman-7a65eed3b335d9c8f688bcada7b5d87836564c12.tar.gz
mailman-7a65eed3b335d9c8f688bcada7b5d87836564c12.tar.zst
mailman-7a65eed3b335d9c8f688bcada7b5d87836564c12.zip
Ditch the posix lockfile stuff in favor of the now "standard" LockFile
module. Specifically: __del__(): Be sure to unlock the list when it gets GC'd InitTempVars(): _tmp_lock => __createlock_p _lock_file => __lock __lock is now a LockFile object and all locking goes through this object. Load(): _tmp_lock => __createlock_p Locked(), Lock(), Unlock(): Use the new LockFile object as the basis for locking. Also, Unlock() should catch AlreadyLockedError for backwards compatable semantics.
Diffstat (limited to 'Mailman/Archiver/HyperDatabase.py')
0 files changed, 0 insertions, 0 deletions