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

Unified Diff: recipe_modules/generator_script/api.py

Issue 2245113002: Track step nesting in StreamEngine. (Closed) Base URL: https://github.com/luci/recipes-py@emit-initial-properties
Patch Set: Rebase, comments. Created 4 years, 3 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 | « recipe_engine/unittests/stream_test.py ('k') | recipe_modules/generator_script/example.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/generator_script/api.py
diff --git a/recipe_modules/generator_script/api.py b/recipe_modules/generator_script/api.py
index ad9f634922e28805ce9690ac596a648555a29f7e..840f4be83beaff1f503e273ea2ec2616d656fe98 100644
--- a/recipe_modules/generator_script/api.py
+++ b/recipe_modules/generator_script/api.py
@@ -90,7 +90,7 @@ class GeneratorScriptApi(recipe_api.RecipeApi):
#TODO(martiniss) change this to use a regular step call
step['ok_ret'] = set(step.pop('ok_ret', {0}))
step['infra_step'] = bool(step.pop('infra_step', False))
- step['step_nest_level'] = int(step.pop('step_nest_level', 0))
+ step['step_nest_level'] = step.pop('step_nest_level', 0)
if step.pop('always_run', False) or not failed_steps:
try:
« no previous file with comments | « recipe_engine/unittests/stream_test.py ('k') | recipe_modules/generator_script/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698