Index: scripts/slave/recipes/blink_android_trybot.py |
diff --git a/scripts/slave/recipes/blink_android_trybot.py b/scripts/slave/recipes/blink_android_trybot.py |
index 244e74c865c21feaf9af6d73c96c7f4460a4f097..0fae73fa68f1973e7f911bf00f37c4b8259380b9 100644 |
--- a/scripts/slave/recipes/blink_android_trybot.py |
+++ b/scripts/slave/recipes/blink_android_trybot.py |
@@ -5,6 +5,7 @@ |
DEPS = [ |
'bot_update', |
'chromium', |
+ 'file', |
'gclient', |
'path', |
'platform', |
@@ -35,7 +36,7 @@ def GenSteps(api): |
try: |
api.gclient.checkout(revert=True) |
except api.step.StepFailure: |
- api.path.rmcontents('slave build directory', |
+ api.file.rmcontents('slave build directory', |
api.path['slave_build']) |
api.gclient.checkout(revert=False) |
api.tryserver.maybe_apply_issue() |
@@ -48,7 +49,7 @@ def GenSteps(api): |
try: |
step_result = api.chromium.compile() |
except api.step.StepFailure: |
- api.path.rmcontents('slave build directory', api.path['slave_build']) |
+ api.file.rmcontents('slave build directory', api.path['slave_build']) |
if bot_update_mode: |
api.bot_update.ensure_checkout(suffix='clean') |
else: |