Index: scripts/slave/recipes/infra/luci_go.py |
diff --git a/scripts/slave/recipes/infra/luci_go.py b/scripts/slave/recipes/infra/luci_go.py |
index 85f7fb57f60ac28eb1de1ee2fc224c9647b0f7ad..9c0bd9a7a068ce15cac293c17b256b1e25b8133a 100644 |
--- a/scripts/slave/recipes/infra/luci_go.py |
+++ b/scripts/slave/recipes/infra/luci_go.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): |