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

Unified Diff: recipe_modules/generator_script/api.py

Issue 2933473002: [context] Split "env" values and prefixes. (Closed)
Patch Set: plumb pathsep through so we don't assume OS Created 3 years, 6 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/generator_script/api.py
diff --git a/recipe_modules/generator_script/api.py b/recipe_modules/generator_script/api.py
index 1cda3641477e7e5dba2b4bcdc17d46cb3207435e..d106d1055ade6cad1cf0844e26109d722604f8b5 100644
--- a/recipe_modules/generator_script/api.py
+++ b/recipe_modules/generator_script/api.py
@@ -57,6 +57,7 @@ class GeneratorScriptApi(recipe_api.RecipeApi):
f = '--output-json'
step_name = 'gen step(%s)' % self.m.path.basename(path_to_script)
+ kwargs.setdefault('pathsep', self.m.path.pathsep)
step_test_data = kwargs.pop('step_test_data', None)
with self.m.context(cwd=self.m.path['checkout']):
if str(path_to_script).endswith('.py'):

Powered by Google App Engine
This is Rietveld 408576698