In article <[EMAIL PROTECTED]>, Jim Segrave <[EMAIL PROTECTED]> wrote: > except OSError, e: > if e.errno != errno.EEXIST:
this should read: if e.errno != errno.ENOENT: (it was left with EEXIST from testing this code by forcing an error, as the code for this failure requires a very tight race condition to test) > sys.exit("%s exists but stat() failed: %s" % > (lockfile, e.strerror)) > # we didn't create the lockfile, so it did exist, but it's -- Jim Segrave ([EMAIL PROTECTED]) -- http://mail.python.org/mailman/listinfo/python-list