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

Unified Diff: recipe_modules/bot_update/api.py

Issue 1662763003: Revert of bot_update: add depot_tools to PATH so that e.g. apply_issue can be found (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | recipe_modules/bot_update/example.expected/basic.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/bot_update/api.py
diff --git a/recipe_modules/bot_update/api.py b/recipe_modules/bot_update/api.py
index 2370c7a6e89d7aaac123fba17b391184ab3801c8..c077ae90414f2158cf6d873fccdfec8ea95e8e6f 100644
--- a/recipe_modules/bot_update/api.py
+++ b/recipe_modules/bot_update/api.py
@@ -57,10 +57,6 @@
assert isinstance(cmd, (list, tuple))
bot_update_path = self.resource('bot_update.py')
kwargs.setdefault('infra_step', True)
- kwargs.setdefault('env', {})
- kwargs['env'].setdefault('PATH', '%(PATH)s')
- kwargs['env']['PATH'] = self.m.path.pathsep.join([
- str(self._module.PACKAGE_DIRECTORY), kwargs['env']['PATH']])
return self.m.python(name, bot_update_path, cmd, **kwargs)
@property
« no previous file with comments | « no previous file | recipe_modules/bot_update/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698