Fixing a race condition in landmines.py
Landmines.py had some logic where it would first check if a directory existed before creating it, but this was sometimes causing an exception wherein the file was reported as existing during the os.mkdirs call, even though it was not reported as existing during the os.path.exists call.
Review URL: https://codereview.chromium.org/248343003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265532 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: d99e6bfe45c78b5ef9a947041c860366b1fa85f8
1 file changed