summaryrefslogtreecommitdiffstats
path: root/tools/auto_bisect
diff options
context:
space:
mode:
authoraiolos <aiolos@chromium.org>2016-01-07 12:55:39 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-07 20:56:49 +0000
commit2959b2468aa74d02cbc6e08cdfaf7d834e9c87b8 (patch)
tree2e72bec1adb69e595c534330deffcb426ddb30e7 /tools/auto_bisect
parent1a86ead1a010fc804fc6cdb610c8a6c6203a6a47 (diff)
downloadchromium_src-2959b2468aa74d02cbc6e08cdfaf7d834e9c87b8.zip
chromium_src-2959b2468aa74d02cbc6e08cdfaf7d834e9c87b8.tar.gz
chromium_src-2959b2468aa74d02cbc6e08cdfaf7d834e9c87b8.tar.bz2
Update fetch_build to use the catapult version of cloud_storage.
This is part of the migration work needed before we can remove the version in telemetry. BUG=565604 Review URL: https://codereview.chromium.org/1566243002 Cr-Commit-Position: refs/heads/master@{#368152}
Diffstat (limited to 'tools/auto_bisect')
-rw-r--r--tools/auto_bisect/fetch_build.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/auto_bisect/fetch_build.py b/tools/auto_bisect/fetch_build.py
index 7a2d8b2..565c2e7 100644
--- a/tools/auto_bisect/fetch_build.py
+++ b/tools/auto_bisect/fetch_build.py
@@ -22,7 +22,10 @@ import shutil
import sys
import zipfile
-# Telemetry (src/tools/telemetry) is expected to be in the PYTHONPATH.
+_CATAPULT_BASE_PATH = os.path.abspath(os.path.join(
+ __file__, '..', '..', 'third_party', 'catapult', 'catapult_base'))
+if _CATAPULT_BASE_PATH not in sys.path:
+ sys.path.insert(1, _CATAPULT_BASE_PATH)
from catapult_base import cloud_storage
import bisect_utils