From: Jeremy Stanley Date: Sat, 27 Oct 2018 20:52:04 +0000 (+0000) Subject: Try to make missing pidfile and logfile parent dir X-Git-Tag: 0.0.1~44 X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=commitdiff_plain;h=41a4d11fc1fa4d9aa801c879c7464bd0de6defcc;hp=41a4d11fc1fa4d9aa801c879c7464bd0de6defcc Try to make missing pidfile and logfile parent dir 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. ---