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

Unified Diff: scripts/slave/recipe_modules/cipd/api.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
« no previous file with comments | « scripts/slave/recipe_modules/cipd/__init__.py ('k') | scripts/slave/recipe_modules/cipd/example.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/cipd/api.py
diff --git a/scripts/slave/recipe_modules/cipd/api.py b/scripts/slave/recipe_modules/cipd/api.py
index 64abc3ba3a86f28ef79e6209692def7424e66065..c81e219eca4f0840ee3fac0b3eb1438094803b3a 100644
--- a/scripts/slave/recipe_modules/cipd/api.py
+++ b/scripts/slave/recipe_modules/cipd/api.py
@@ -42,7 +42,7 @@ class CIPDApi(recipe_api.RecipeApi):
script=self.resource('bootstrap.py'),
args=[
'--platform', self.platform_suffix(),
- '--dest-directory', self.m.infra_paths['slave_build'].join('cipd'),
+ '--dest-directory', self.m.path['slave_build'].join('cipd'),
'--json-output', self.m.json.output(),
] +
(['--version', version] if version else []),
@@ -113,7 +113,7 @@ class CIPDApi(recipe_api.RecipeApi):
package_list = ['%s %s' % (name, version)
for name, version in sorted(packages.items())]
list_data = self.m.raw_io.input('\n'.join(package_list))
- bin_path = self.m.infra_paths['slave_build'].join('cipd')
+ bin_path = self.m.path['slave_build'].join('cipd')
cmd = [
self._cipd_executable,
'ensure',
« no previous file with comments | « scripts/slave/recipe_modules/cipd/__init__.py ('k') | scripts/slave/recipe_modules/cipd/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698