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
tree: 63a6af4298e5245a38f0597b2430354c1116b1e5
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/