diff options
| author | bwarsaw | 1998-12-27 19:20:20 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-12-27 19:20:20 +0000 |
| commit | 9ceaab7aec4050c86139eb461863df6e25a61217 (patch) | |
| tree | c4dd5c1c053e59c0eaddcb053b9b9e514b80ac50 /Mailman/pythonlib/tempfile.py | |
| parent | cce6bfeb99be18a15a024264eb42cf4acf25556e (diff) | |
| download | mailman-9ceaab7aec4050c86139eb461863df6e25a61217.tar.gz mailman-9ceaab7aec4050c86139eb461863df6e25a61217.tar.zst mailman-9ceaab7aec4050c86139eb461863df6e25a61217.zip | |
LockFile.lock(): Two changes: first a minor one, if we raise a
TimeOutError, we want to unlink our tmpfname first, so we don't
potentially leave our linkfile hanging around forever.
The second change adds a `stolen' flag which gets set to 1 when we
determine a link is stale, and should eliminate the occasional assert
errors Ken is seeing. My analysis is included in the comment in the
code, but I still wonder if the logic here isn't still flawed.
Diffstat (limited to 'Mailman/pythonlib/tempfile.py')
0 files changed, 0 insertions, 0 deletions
