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

Unified Diff: scripts/slave/recipes/infra/luci_gae.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/recipes/infra/luci_gae.py
diff --git a/scripts/slave/recipes/infra/luci_gae.py b/scripts/slave/recipes/infra/luci_gae.py
index 3e34e191d4bcdb2efc169dc5bb6ab6f075da0b5e..b8b2b681c405985b789e0a4a488c74e9683f0781 100644
--- a/scripts/slave/recipes/infra/luci_gae.py
+++ b/scripts/slave/recipes/infra/luci_gae.py
@@ -6,7 +6,6 @@ DEPS = [
'depot_tools/bot_update',
'depot_tools/gclient',
'depot_tools/git',
- 'depot_tools/infra_paths',
'recipe_engine/json',
'recipe_engine/path',
'recipe_engine/properties',
@@ -23,8 +22,8 @@ def _run_presubmit(api, patch_root, bot_update_step):
# infra/go/env.py takes care of this.
presubmit_cmd = [
'python', # env.py will replace with this its sys.executable.
- api.infra_paths['depot_tools'].join('presubmit_support.py'),
- '--root', api.infra_paths['slave_build'].join(patch_root),
+ api.path['depot_tools'].join('presubmit_support.py'),
+ '--root', api.path['slave_build'].join(patch_root),
'--commit',
'--verbose', '--verbose',
'--issue', api.properties['issue'],
@@ -46,7 +45,7 @@ def _commit_change(api, patch_root):
'-c', 'user.name=The Commit Bot',
'commit', '-a', '-m', 'Committed patch',
name='commit git patch',
- cwd=api.infra_paths['slave_build'].join(patch_root))
+ cwd=api.path['slave_build'].join(patch_root))
def RunSteps(api):

Powered by Google App Engine
This is Rietveld 408576698