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

Unified Diff: scripts/slave/recipe_modules/archive/api.py

Issue 1101673005: Extract functions from path recipe module so that step can depend on it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 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
Index: scripts/slave/recipe_modules/archive/api.py
diff --git a/scripts/slave/recipe_modules/archive/api.py b/scripts/slave/recipe_modules/archive/api.py
index 32af8f44c0bb097ae94c0c1153a9c1245bad933a..e0a1dd5097f1fcdfbdfd978e18a9f26699d30418 100644
--- a/scripts/slave/recipe_modules/archive/api.py
+++ b/scripts/slave/recipe_modules/archive/api.py
@@ -209,7 +209,7 @@ class ArchiveApi(recipe_api.RecipeApi):
staging_dir = self.m.path['slave_build'].join('chrome_staging')
# Build the list of files to archive.
- zip_file_list = [f for f in self.m.path.listdir('build_dir', build_dir)
+ zip_file_list = [f for f in self.m.file.listdir('build_dir', build_dir)
if self._cf_should_package_file(f)]
pieces = [self.m.platform.name, target.lower()]
« no previous file with comments | « scripts/slave/recipe_modules/android/api.py ('k') | scripts/slave/recipe_modules/chromium_tests/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698