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

Unified Diff: recipe_engine/loader.py

Issue 2802693003: include Package proto into Result proto (Closed)
Patch Set: rebased and addressed comments Created 3 years, 7 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/package.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 2ea34f3c76040b405bc8b038157886c63d49ae21..eb3ac5f0ebc7b7fb4697895a26d1cb2109c4386a 100644
--- a/recipe_engine/loader.py
+++ b/recipe_engine/loader.py
@@ -172,6 +172,7 @@ class UniverseView(collections.namedtuple('UniverseView', 'universe package')):
This is used mainly for dependency loading -- a package can only see modules
in itself and packages that it directly depends on.
"""
+
def _dep_from_name(self, name):
if '/' in name:
package, module = name.split('/')
@@ -232,7 +233,6 @@ class UniverseView(collections.namedtuple('UniverseView', 'universe package')):
for local_name, (pkg, name) in self.normalize_deps_spec(spec).iteritems()
}
-
def find_recipe(self, recipe):
if ':' in recipe:
module_name, recipe_name = recipe.split(':')
« no previous file with comments | « no previous file | recipe_engine/package.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698