Try to make missing pidfile and logfile parent dir
authorJeremy Stanley <fungi@yuggoth.org>
Sat, 27 Oct 2018 20:52:04 +0000 (20:52 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sat, 27 Oct 2018 20:52:04 +0000 (20:52 +0000)
Rather than assume the path to a specified pidfile or logfile
already exists, try to make it before opening the file for writing.
This solves an issue with `tox -e debug` raising FileNotFoundError
when trying to open the logfile. Remove the mkdir() call in the
selftest setup so that this gets exercised properly.


No differences found