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

Unified Diff: recipe_engine/config_types.py

Issue 1777003003: recipe_engine: change resource API to use repo root (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: review Created 4 years, 9 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/loader.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/config_types.py
diff --git a/recipe_engine/config_types.py b/recipe_engine/config_types.py
index 1e7eee64ff78d69e0f40819d5106d3529698d6b1..7c6f2296d55f2d58a907d231df8a3a86c1fc08b0 100644
--- a/recipe_engine/config_types.py
+++ b/recipe_engine/config_types.py
@@ -95,9 +95,10 @@ class ModuleBasePath(BasePath, namedtuple('ModuleBasePath', 'module')):
return 'RECIPE_MODULE[%s]' % re.sub('\.', '::', name)
-class PackageBasePath(BasePath, namedtuple('PackageBasePath', 'package')):
+class PackageRepoBasePath(
+ BasePath, namedtuple('PackageRepoBasePath', 'package')):
def __repr__(self):
- return 'RECIPE_PACKAGE[%s]' % self.package.name
+ return 'RECIPE_PACKAGE_REPO[%s]' % self.package.name
class Path(RecipeConfigType):
« no previous file with comments | « no previous file | recipe_engine/loader.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698