summaryrefslogtreecommitdiff
path: root/Mailman/LockFile.py
diff options
context:
space:
mode:
authorbwarsaw2000-10-12 04:03:56 +0000
committerbwarsaw2000-10-12 04:03:56 +0000
commit8c4c300cf8a7ca0c24e3ad5cfcf5710157a3953a (patch)
tree6ae0ba4c49fa32123f02d34d0f5f6e1254c81f0f /Mailman/LockFile.py
parent0ffaaf97ce616c40b770189745bb5df0d817e1c7 (diff)
downloadmailman-8c4c300cf8a7ca0c24e3ad5cfcf5710157a3953a.tar.gz
mailman-8c4c300cf8a7ca0c24e3ad5cfcf5710157a3953a.tar.zst
mailman-8c4c300cf8a7ca0c24e3ad5cfcf5710157a3953a.zip
Diffstat (limited to 'Mailman/LockFile.py')
-rw-r--r--Mailman/LockFile.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mailman/LockFile.py b/Mailman/LockFile.py
index 60b9d8e4d..58256b70d 100644
--- a/Mailman/LockFile.py
+++ b/Mailman/LockFile.py
@@ -217,6 +217,10 @@ class LockFile:
# Make sure my temp lockfile exists, and that its contents are
# up-to-date (e.g. the temp file name, and the lock lifetime).
self.__write()
+ # TBD: This next call can fail with an EPERM. I have no idea why, but
+ # I'm nervous about wrapping this in a try/except. It seems to be a
+ # very rare occurence, only happens from cron, and (only?) on Solaris
+ # 2.6.
self.__touch()
self.__writelog('laying claim')
# for quieting the logging output