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

Unified Diff: recipe_modules/gclient/api.py

Issue 1785443002: depot_tools: adjust for resource API changes in recipe engine (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 9 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/gclient/api.py
diff --git a/recipe_modules/gclient/api.py b/recipe_modules/gclient/api.py
index 98100c2058877b8af3f049399dd605455b8c2c8f..558e9d9c5e68ca10e91ff643162da8dcdb6b2bb2 100644
--- a/recipe_modules/gclient/api.py
+++ b/recipe_modules/gclient/api.py
@@ -93,10 +93,10 @@ class GclientApi(recipe_api.RecipeApi):
kwargs.setdefault('env', {})
kwargs['env'].setdefault('PATH', '%(PATH)s')
kwargs['env']['PATH'] = self.m.path.pathsep.join([
- kwargs['env']['PATH'], str(self._module.PACKAGE_DIRECTORY)])
+ kwargs['env']['PATH'], str(self._module.PACKAGE_REPO_ROOT)])
return self.m.python(prefix + name,
- self.package_resource('gclient.py'),
+ self.package_repo_resource('gclient.py'),
cmd,
infra_step=infra_step,
**kwargs)

Powered by Google App Engine
This is Rietveld 408576698