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

Unified Diff: scripts/slave/recipe_modules/syzygy/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
« no previous file with comments | « scripts/slave/recipe_modules/swarming/example.py ('k') | scripts/slave/recipe_modules/v8/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/syzygy/api.py
diff --git a/scripts/slave/recipe_modules/syzygy/api.py b/scripts/slave/recipe_modules/syzygy/api.py
index e5881f67e2917c890aa4af833324e97a91b26c27..6b2b422c9f153cd025d01eb3d5bd08ba003cc137 100644
--- a/scripts/slave/recipe_modules/syzygy/api.py
+++ b/scripts/slave/recipe_modules/syzygy/api.py
@@ -293,7 +293,7 @@ PATCH=1
def clobber_metrics(self):
"""Returns a step that clobbers an existing metrics file."""
# TODO(chrisha): Make this whole thing use the JSON output mechanism.
- return self.m.path.rmwildcard('metrics.csv', self.output_dir)
+ return self.m.file.rmwildcard('metrics.csv', self.output_dir)
def archive_metrics(self):
"""Returns a step that archives any metrics collected by the unittests.
« no previous file with comments | « scripts/slave/recipe_modules/swarming/example.py ('k') | scripts/slave/recipe_modules/v8/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698