Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition in doit.tools.create_folder
`create_folder` had a race condition: if many tasks try to create the same folder then it is possible that between checking directory existence and actual creation of the directory in the next line another task will create that directory. Since [python 3.2](https://docs.python.org/3.4/library/os.html#os.makedirs) `os.makedirs` has nice `exist_ok` argument that will do the same thing but without such problems.
- Loading branch information