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

Unified Diff: recipes.py

Issue 1861203002: Make recipes.py run give better messages. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: LICENSE and small things. 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: recipes.py
diff --git a/recipes.py b/recipes.py
index 1c2e48cf0e44720dfff3ce4c154a6c698300db2b..2ce0e7064a9c254b94cd6e6b6395681b0fa02c27 100755
--- a/recipes.py
+++ b/recipes.py
@@ -10,6 +10,7 @@ infra/config/recipes.cfg.
"""
import argparse
+import ast
import json
import logging
import os
@@ -119,7 +120,7 @@ def run(package_deps, args):
os.environ['PYTHONIOENCODING'] = 'UTF-8'
_, config_file = get_package_config(args)
- universe = loader.UniverseView(
+ universe_view = loader.UniverseView(
loader.RecipeUniverse(
package_deps, config_file), package_deps.root_package)
@@ -143,7 +144,7 @@ def run(package_deps, args):
ret = recipe_run.run_steps(
properties, stream_engine,
step_runner.SubprocessStepRunner(stream_engine),
- universe=universe)
+ universe_view=universe_view)
finally:
os.chdir(old_cwd)
« recipe_engine/run.py ('K') | « recipe_engine/run.py ('k') | unittests/errors_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698