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: |