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

Unified Diff: recipe_modules/path/example.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: 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 | « recipe_modules/path/api.py ('k') | recipe_modules/path/example.expected/linux.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/path/example.py
diff --git a/recipe_modules/path/example.py b/recipe_modules/path/example.py
index 338f5762c7fa3b41619ced47820e618ade8985ea..cea85bb5bec6f0e11ddb19ff8e6c8f1acc8c1edc 100644
--- a/recipe_modules/path/example.py
+++ b/recipe_modules/path/example.py
@@ -22,7 +22,7 @@ def RunSteps(api):
# module.package_dir() demo.
iannucci 2016/03/09 20:23:30 package_repo_resource ?
Paweł Hajdan Jr. 2016/03/09 20:26:16 Done.
api.step('print package dir',
- ['echo', api.path.package_resource('dir', 'file.py')])
+ ['echo', api.path.package_repo_resource('dir', 'file.py')])
# Global dynamic paths (see config.py example for declaration):
dynamic_path = Path('[BORTS]', 'jerky')
« no previous file with comments | « recipe_modules/path/api.py ('k') | recipe_modules/path/example.expected/linux.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698