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

Unified Diff: scripts/slave/recipe_modules/swarming/example.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/skia/default_flavor.py ('k') | scripts/slave/recipe_modules/syzygy/api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/swarming/example.py
diff --git a/scripts/slave/recipe_modules/swarming/example.py b/scripts/slave/recipe_modules/swarming/example.py
index cca4265a5b849cca0b99e0d114636f2f3a84f98e..6e269163d0f843412b97da2617841784048daf6a 100644
--- a/scripts/slave/recipe_modules/swarming/example.py
+++ b/scripts/slave/recipe_modules/swarming/example.py
@@ -3,6 +3,7 @@
# found in the LICENSE file.
DEPS = [
+ 'file',
'isolate',
'path',
'properties',
@@ -101,7 +102,7 @@ def GenSteps(api):
assert step_result.swarming_task in tasks
# Cleanup.
- api.path.rmtree('remove temp dir', temp_dir)
+ api.file.rmtree('remove temp dir', temp_dir)
def GenTests(api):
« no previous file with comments | « scripts/slave/recipe_modules/skia/default_flavor.py ('k') | scripts/slave/recipe_modules/syzygy/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698