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

Unified Diff: recipe_engine/recipe_api.py

Issue 1421843006: Add simple depends_on API. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Remove old expectation, move tests to their own folder. Created 5 years, 1 month 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/package.py ('k') | recipe_engine/recipe_test_api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/recipe_api.py
diff --git a/recipe_engine/recipe_api.py b/recipe_engine/recipe_api.py
index 985abe200e90516e993c956a9840d6c695a39d8a..5e8f95d9ee7c0e5de528607e6d19e51c8fcca728 100644
--- a/recipe_engine/recipe_api.py
+++ b/recipe_engine/recipe_api.py
@@ -454,8 +454,8 @@ class RecipeApi(RecipeApiPlain):
class RecipeScriptApi(RecipeApiPlain, ModuleInjectionSite):
- pass
-
+ def depend_on(self, recipe, properties, **kwargs):
+ return self._engine.depend_on(recipe, properties, **kwargs)
# This is a sentinel object for the Property system. This allows users to
# specify a default of None that will actually be respected.
« no previous file with comments | « recipe_engine/package.py ('k') | recipe_engine/recipe_test_api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698