Tweaks the implementation of ensure_dir() so that it is always okay if a directory already exists. Previously I had errors in multiprocess workflows where one worker managed to create the directory between the execution of the if and os.makedirs() statements of another worker.
Tweaks the implementation of
ensure_dir()
so that it is always okay if a directory already exists. Previously I had errors in multiprocess workflows where one worker managed to create the directory between the execution of theif
andos.makedirs()
statements of another worker.