Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Unified Diff: tools/perf/PRESUBMIT.py

Issue 2300653002: [tools/perf] Update code to reference py_utils.cloud_storage (Closed)
Patch Set: update Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/auto_bisect/fetch_build.py ('k') | tools/perf/core/path_util.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/PRESUBMIT.py
diff --git a/tools/perf/PRESUBMIT.py b/tools/perf/PRESUBMIT.py
index 3d8f91a076384742605ebf1bc15184a5e1ec158b..36d9a15afaa7b5fc2b79f7022028035acce5ef19 100644
--- a/tools/perf/PRESUBMIT.py
+++ b/tools/perf/PRESUBMIT.py
@@ -44,10 +44,10 @@ def _CheckWprShaFiles(input_api, output_api):
old_sys_path = sys.path
try:
perf_dir = input_api.PresubmitLocalPath()
- catapult_path = os.path.abspath(os.path.join(
- perf_dir, '..', '..', 'third_party', 'catapult', 'catapult_base'))
- sys.path.insert(1, catapult_path)
- from catapult_base import cloud_storage # pylint: disable=import-error
+ py_utils_path = os.path.abspath(os.path.join(
+ perf_dir, '..', '..', 'third_party', 'catapult', 'common', 'py_utils'))
+ sys.path.insert(1, py_utils_path)
+ from py_utils import cloud_storage # pylint: disable=import-error
finally:
sys.path = old_sys_path
« no previous file with comments | « tools/auto_bisect/fetch_build.py ('k') | tools/perf/core/path_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698