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

Unified Diff: scripts/slave/recipe_modules/cipd/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/cipd/example.py
diff --git a/scripts/slave/recipe_modules/cipd/example.py b/scripts/slave/recipe_modules/cipd/example.py
index 9917471a7a7d3bcaee5ab93c34edd712d10c76a6..2a48fe878a42f4ca66561bd36aa12e9439dd8c6d 100644
--- a/scripts/slave/recipe_modules/cipd/example.py
+++ b/scripts/slave/recipe_modules/cipd/example.py
@@ -3,7 +3,6 @@
# found in the LICENSE file.
DEPS = [
- 'depot_tools/infra_paths',
'file',
'recipe_engine/path',
'recipe_engine/platform',
@@ -22,7 +21,7 @@ def RunSteps(api):
package_instance_id = '7f751b2237df2fdf3c1405be00590fefffbaea2d'
packages = {package_name: package_instance_id}
- cipd_root = api.infra_paths['slave_build'].join('packages')
+ cipd_root = api.path['slave_build'].join('packages')
# Some packages don't require credentials to be installed or queried.
api.cipd.ensure(cipd_root, packages)
step = api.cipd.search(package_name, tag='git_revision:40-chars-long-hash')
« no previous file with comments | « scripts/slave/recipe_modules/cipd/api.py ('k') | scripts/slave/recipe_modules/cipd/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698