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

Unified Diff: scripts/slave/recipe_modules/gsutil/example.py

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 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
Index: scripts/slave/recipe_modules/gsutil/example.py
diff --git a/scripts/slave/recipe_modules/gsutil/example.py b/scripts/slave/recipe_modules/gsutil/example.py
index ffcf331b769f98e2c52737677a236b812d22c697..d80a8bd3de5da4490280480eca40cd6b4cf48205 100644
--- a/scripts/slave/recipe_modules/gsutil/example.py
+++ b/scripts/slave/recipe_modules/gsutil/example.py
@@ -3,7 +3,6 @@
# found in the LICENSE file.
DEPS = [
- 'depot_tools/infra_paths',
'gsutil',
'recipe_engine/path',
]
@@ -11,7 +10,7 @@ DEPS = [
def RunSteps(api):
"""Move things around in a loop!"""
- local_file = api.infra_paths['slave_build'].join('boom')
+ local_file = api.path['slave_build'].join('boom')
bucket = 'chromium-recipe-test'
cloud_file = 'some/random/path/to/boom'
api.gsutil.upload(local_file, bucket, cloud_file,
@@ -46,7 +45,7 @@ def RunSteps(api):
pass
new_cloud_file = 'staging/to/boom'
- new_local_file = api.infra_paths['slave_build'].join('erang')
+ new_local_file = api.path['slave_build'].join('erang')
api.gsutil.download(bucket, new_cloud_file, new_local_file)
private_key_file = 'path/to/key'
« no previous file with comments | « scripts/slave/recipe_modules/gsutil/api.py ('k') | scripts/slave/recipe_modules/gsutil/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698