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

Unified Diff: scripts/slave/annotated_run.py

Issue 187203005: Minor cleanup of some recipe framework code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Rietveld >_< Created 6 years, 10 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 | « no previous file | scripts/slave/recipe_api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/annotated_run.py
diff --git a/scripts/slave/annotated_run.py b/scripts/slave/annotated_run.py
index 349c6fbd43daf439adb44cc5bae74d74351a6a0a..03f6bdda3820367407872c9ca4e148c95d5d4852 100755
--- a/scripts/slave/annotated_run.py
+++ b/scripts/slave/annotated_run.py
@@ -379,7 +379,7 @@ def main(argv=None):
def run_steps(stream, build_properties, factory_properties,
- api=recipe_loader.CreateRecipeApi,
+ api=recipe_loader.create_recipe_api,
test=recipe_test_api.DisabledTestData()):
"""Returns a tuple of (status_code, steps_ran).
@@ -412,7 +412,7 @@ def run_steps(stream, build_properties, factory_properties,
assert 'recipe' in factory_properties
recipe = factory_properties['recipe']
try:
- recipe_module = recipe_loader.LoadRecipe(recipe)
+ recipe_module = recipe_loader.load_recipe(recipe)
stream.emit('Running recipe with %s' % (properties,))
steps = recipe_module.GenSteps(api(recipe_module.DEPS,
properties=properties,
« no previous file with comments | « no previous file | scripts/slave/recipe_api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698