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

Unified Diff: recipe_engine/loader.py

Issue 1923363003: recipe engine: add a hook for initializing recipe module with injected deps (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: presubmit Created 4 years, 8 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 | recipe_engine/recipe_api.py » ('j') | no next file with comments »
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 759447046e7b15fa3c704a3a17e35082c1e36e8b..85ea574b8b447117fe8c4f92b4afd39111b8a4cf 100644
--- a/recipe_engine/loader.py
+++ b/recipe_engine/loader.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2015 The Chromium Authors. All rights reserved.
+# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -528,6 +528,7 @@ def create_recipe_api(toplevel_deps, engine, test_data=DisabledTestData()):
for k, v in deps.iteritems():
setattr(mod_api.m, k, v)
setattr(mod_api.test_api.m, k, v.test_api)
+ mod_api.initialize()
return mod_api
mapper = DependencyMapper(instantiator)
« no previous file with comments | « no previous file | recipe_engine/recipe_api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698