summaryrefslogtreecommitdiff
path: root/python/skytools/dbstruct.py
diff options
context:
space:
mode:
authorMarko Kreen2009-10-14 13:47:31 +0000
committerMarko Kreen2009-10-14 13:47:31 +0000
commit9dcab958bdaadb2787027b9b10af362a0bc2f861 (patch)
treee1360f38500014e4a30e41ff88e7116ebe98bca4 /python/skytools/dbstruct.py
parent66c72793edd322c55dd02744abd8fab822e211b4 (diff)
skytools.DBScript: safer pidfile writing
- signal_pidfile: Clarify ValueError error message. Thrown usually on empty pidfiles, the error messega will now mention the pidfile name. - run_single_process: restructure pidfile writing, so that the pidfile is removed if .write() failed, but not when open() failed. This should avoid the chance that empty pidfiles are hanging around.
Diffstat (limited to 'python/skytools/dbstruct.py')
0 files changed, 0 insertions, 0 deletions