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

Unified Diff: scripts/slave/recipe_modules/auto_bisect/revision_state.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/auto_bisect/revision_state.py
diff --git a/scripts/slave/recipe_modules/auto_bisect/revision_state.py b/scripts/slave/recipe_modules/auto_bisect/revision_state.py
index 420d26dcec44c2a84eacefc81ea5482385e8e4f4..9cd1df322d3870450f28c9de7a517c8146ece199 100644
--- a/scripts/slave/recipe_modules/auto_bisect/revision_state.py
+++ b/scripts/slave/recipe_modules/auto_bisect/revision_state.py
@@ -154,7 +154,7 @@ class RevisionState(object):
if self.needs_patch: # pragma: no cover
return False
api = self.bisector.api
- cwd = api.m.infra_paths['slave_build'].join(
+ cwd = api.m.path['slave_build'].join(
depot_config.DEPOT_DEPS_NAME[self.depot_name]['src'])
name = 'Checking DEPS for ' + self.commit_hash
step_result = api.m.git(
@@ -384,7 +384,7 @@ class RevisionState(object):
def _write_deps_patch_file(self, build_name):
"""Saves the DEPS patch in a temp location and returns the file path."""
api = self.bisector.api
- file_name = str(api.m.path['tmp'].join(build_name + '.diff'))
+ file_name = str(api.m.path['tmp_base'].join(build_name + '.diff'))
api.m.file.write('Saving diff patch for ' + self.commit_hash,
file_name, self.deps_patch + self.deps_sha_patch)
return file_name

Powered by Google App Engine
This is Rietveld 408576698