| Index: scripts/slave/recipe_modules/python/api.py
|
| diff --git a/scripts/slave/recipe_modules/python/api.py b/scripts/slave/recipe_modules/python/api.py
|
| index 3e59bc987d91fc7bae0949605d695230d1524ed5..a59901df346788dd9a6d7a380ca84f267d2e70f3 100644
|
| --- a/scripts/slave/recipe_modules/python/api.py
|
| +++ b/scripts/slave/recipe_modules/python/api.py
|
| @@ -3,6 +3,7 @@
|
| # found in the LICENSE file.
|
|
|
| from slave import recipe_api
|
| +from slave import recipe_util
|
|
|
| import textwrap
|
|
|
| @@ -23,9 +24,9 @@ class PythonApi(recipe_api.RecipeApi):
|
| program = textwrap.dedent(program)
|
| compile(program, '<string>', 'exec', dont_inherit=1)
|
|
|
| - @recipe_api.wrap_followup(kwargs)
|
| + @recipe_util.wrap_followup(kwargs)
|
| def inline_followup(step_result):
|
| step_result.presentation.logs['python.inline'] = program.splitlines()
|
|
|
| - return self(name, recipe_api.InputDataPlaceholder(program, '.py'),
|
| + return self(name, self.m.raw.input(program, '.py', self.name),
|
| followup_fn=inline_followup, **kwargs)
|
|
|