Don't LBYL when creating missing data directories
authorJeremy Stanley <fungi@yuggoth.org>
Sat, 27 Oct 2018 21:01:52 +0000 (21:01 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sat, 27 Oct 2018 21:01:52 +0000 (21:01 +0000)
commit204ea77ed37ec8bedee7465577106a3ac420523f
tree33a70264c935e247ba44d130b91b4ada8b2b9bb5
parent41a4d11fc1fa4d9aa801c879c7464bd0de6defcc
Don't LBYL when creating missing data directories

It's better to ask forgiveness than permission. Just try to create
parent directories for any data file, and don't error if they
already exist.
mudpy/data.py