| 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'
|
|
|