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

Unified Diff: recipe_engine/loader.py

Issue 1421843006: Add simple depends_on API. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Update expectations. 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 | « no previous file | recipe_engine/recipe_api.py » ('j') | recipe_engine/recipe_test_api.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/loader.py
diff --git a/recipe_engine/loader.py b/recipe_engine/loader.py
index e8b67258781b23872108043f4f193f2370d3c147..fe36a591e6a47baf32a92a99b94b40efbb7b44e5 100644
--- a/recipe_engine/loader.py
+++ b/recipe_engine/loader.py
@@ -131,9 +131,13 @@ class PackageDependency(PathDependency):
class RecipeUniverse(object):
Sergiy Byelozyorov 2015/11/13 13:14:55 can you please document what this does or add a TO
martiniss 2015/11/13 23:19:02 luqui@ wrote this, would be a better person to doc
- def __init__(self, package_deps):
+ def __init__(self, package_deps, config_file):
self._loaded = {}
self._package_deps = package_deps
+ self._config_file = config_file
+
+ def copy(self):
+ return RecipeUniverse(self._package_deps, self._config_file)
@property
def module_dirs(self):
« no previous file with comments | « no previous file | recipe_engine/recipe_api.py » ('j') | recipe_engine/recipe_test_api.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698