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

Unified Diff: recipe_engine/loader.py

Issue 2882563002: Revert of include Package proto into Result proto (Closed)
Patch Set: 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 eb3ac5f0ebc7b7fb4697895a26d1cb2109c4386a..2ea34f3c76040b405bc8b038157886c63d49ae21 100644
--- a/recipe_engine/loader.py
+++ b/recipe_engine/loader.py
@@ -172,7 +172,6 @@
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,6 +231,7 @@
local_name: self.universe.load(pkg, name)
for local_name, (pkg, name) in self.normalize_deps_spec(spec).iteritems()
}
+
def find_recipe(self, recipe):
if ':' in recipe:
« 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