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

Unified Diff: recipe_modules/git/example.py

Issue 1917263002: Revert of depot_tools: add infra_paths recipe module for infra-specific paths (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.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 | « recipe_modules/git/api.py ('k') | recipe_modules/git/example.expected/basic.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/git/example.py
diff --git a/recipe_modules/git/example.py b/recipe_modules/git/example.py
index 02836b45c4cde2d4d64c5f0c4aff8505bd1cd791..066785a2a3c00cc8dff2a4f69912cd24346f0d62 100644
--- a/recipe_modules/git/example.py
+++ b/recipe_modules/git/example.py
@@ -4,7 +4,6 @@
DEPS = [
'git',
- 'infra_paths',
'recipe_engine/path',
'recipe_engine/platform',
'recipe_engine/properties',
@@ -20,7 +19,7 @@
# useful for debugging git access issues that are reproducible only on bots.
curl_trace_file = None
if api.properties.get('use_curl_trace'):
- curl_trace_file = api.infra_paths['slave_build'].join('curl_trace.log')
+ curl_trace_file = api.path['slave_build'].join('curl_trace.log')
submodule_update_force = api.properties.get('submodule_update_force', False)
submodule_update_recursive = api.properties.get('submodule_update_recursive',
@@ -81,7 +80,7 @@
# Bundle the repository.
api.git.bundle_create(
- api.infra_paths['slave_build'].join('all.bundle'))
+ api.path['slave_build'].join('all.bundle'))
def GenTests(api):
« no previous file with comments | « recipe_modules/git/api.py ('k') | recipe_modules/git/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698