summaryrefslogtreecommitdiff
path: root/Mailman/versions.py
diff options
context:
space:
mode:
authorcotton1998-10-22 11:21:16 +0000
committercotton1998-10-22 11:21:16 +0000
commit4e72daaa69e254fd40394416b0115956c6fe8ac3 (patch)
treed3b521521650f2c58f74eba29a28bbcfffb36489 /Mailman/versions.py
parentfa4ed3fca6fb7205c132cd3debde7362304ff9bb (diff)
downloadmailman-4e72daaa69e254fd40394416b0115956c6fe8ac3.tar.gz
mailman-4e72daaa69e254fd40394416b0115956c6fe8ac3.tar.zst
mailman-4e72daaa69e254fd40394416b0115956c6fe8ac3.zip
bug fix: Archiving mechansim
the native python bsddb replacement wasn't protected in all cases from HyperArch.Archive's locking. added a single global lock uses the flock module to HyperDatabase.DumbBTree so that only one process may access it at a time. specifics: 1) removed previously added locking around the pipermail.T.__init__ line in HyperArch.Archive.__init__, as the database locking should take care of this 2) added lock and unlock methods to HyperDatabase.DumbBTree making multple calls to unlock, and therefore multple calls to HyperDatabase.DumbBTree.close() ok, as the comments from pipermail indicate this might happen. scott
Diffstat (limited to 'Mailman/versions.py')
0 files changed, 0 insertions, 0 deletions