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

Unified Diff: recipe_modules/rietveld/api.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/rietveld/__init__.py ('k') | recipe_modules/rietveld/example.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/rietveld/api.py
diff --git a/recipe_modules/rietveld/api.py b/recipe_modules/rietveld/api.py
index 4011a68bdf1129d71a7e5b268da739451342a630..b52ec0bc96632180d4857ef3f796d0b70f3cc048 100644
--- a/recipe_modules/rietveld/api.py
+++ b/recipe_modules/rietveld/api.py
@@ -67,22 +67,22 @@
if authentication == 'oauth2':
step_result = self.m.python(
'apply_issue',
- self.m.infra_paths['depot_tools'].join('apply_issue.py'), [
+ self.m.path['depot_tools'].join('apply_issue.py'), [
'-r', self.m.path['checkout'].join(*root_pieces),
'-i', issue_number,
'-p', self.m.properties['patchset'],
'-s', rietveld_url,
- '-E', self.m.infra_paths['build'].join(
- 'site_config', '.rietveld_client_email'),
- '-k', self.m.infra_paths['build'].join(
- 'site_config', '.rietveld_secret_key')
+ '-E', self.m.path['build'].join('site_config',
+ '.rietveld_client_email'),
+ '-k', self.m.path['build'].join('site_config',
+ '.rietveld_secret_key')
],
)
else:
step_result = self.m.python(
'apply_issue',
- self.m.infra_paths['depot_tools'].join('apply_issue.py'), [
+ self.m.path['depot_tools'].join('apply_issue.py'), [
'-r', self.m.path['checkout'].join(*root_pieces),
'-i', issue_number,
'-p', self.m.properties['patchset'],
« no previous file with comments | « recipe_modules/rietveld/__init__.py ('k') | recipe_modules/rietveld/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698