summaryrefslogtreecommitdiffstats
path: root/tools/bisect-perf-regression.py
diff options
context:
space:
mode:
authorsimonhatch@chromium.org <simonhatch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-12 21:47:24 +0000
committersimonhatch@chromium.org <simonhatch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-12 21:47:24 +0000
commit60028964db515686c70fe6b169950c3e8c3449c8 (patch)
treefd8421191058b45fcd397631f0e54f7aa9373219 /tools/bisect-perf-regression.py
parent1533d806f2d512899ea9bf5e1ed8a93d8720cbea (diff)
downloadchromium_src-60028964db515686c70fe6b169950c3e8c3449c8.zip
chromium_src-60028964db515686c70fe6b169950c3e8c3449c8.tar.gz
chromium_src-60028964db515686c70fe6b169950c3e8c3449c8.tar.bz2
Create the full path instead of just the leaf directory. On a fresh sync of the depot, the build directories don't exist and the function fails.
BUG= NOTRY=true Review URL: https://chromiumcodereview.appspot.com/14121017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194021 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/bisect-perf-regression.py')
-rwxr-xr-xtools/bisect-perf-regression.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bisect-perf-regression.py b/tools/bisect-perf-regression.py
index f872569..4211e70 100755
--- a/tools/bisect-perf-regression.py
+++ b/tools/bisect-perf-regression.py
@@ -1566,7 +1566,7 @@ def RmTreeAndMkDir(path_to_dir):
return False
try:
- os.mkdir(path_to_dir)
+ os.makedirs(path_to_dir)
except OSError, e:
if e.errno != errno.EEXIST:
return False