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

Unified Diff: recipe_modules/rietveld/api.py

Issue 1915463002: 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
Index: recipe_modules/rietveld/api.py
diff --git a/recipe_modules/rietveld/api.py b/recipe_modules/rietveld/api.py
index aa7374fc3f7735ac410bcd1b42f0c794b05091a2..8c90926c80da12d60e96aa9656d6c3827975e588 100644
--- a/recipe_modules/rietveld/api.py
+++ b/recipe_modules/rietveld/api.py
@@ -62,22 +62,22 @@ class RietveldApi(recipe_api.RecipeApi):
if authentication == 'oauth2':
step_result = self.m.python(
'apply_issue',
- self.m.path['depot_tools'].join('apply_issue.py'), [
+ self.m.infra_paths['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.path['build'].join('site_config',
- '.rietveld_client_email'),
- '-k', self.m.path['build'].join('site_config',
- '.rietveld_secret_key')
+ '-E', self.m.infra_paths['build'].join(
+ 'site_config', '.rietveld_client_email'),
+ '-k', self.m.infra_paths['build'].join(
+ 'site_config', '.rietveld_secret_key')
],
)
else:
step_result = self.m.python(
'apply_issue',
- self.m.path['depot_tools'].join('apply_issue.py'), [
+ self.m.infra_paths['depot_tools'].join('apply_issue.py'), [
'-r', self.m.path['checkout'].join(*root_pieces),
'-i', issue_number,
'-p', self.m.properties['patchset'],

Powered by Google App Engine
This is Rietveld 408576698