Index: client/tools/run_on_bots.py |
diff --git a/client/tools/run_on_bots.py b/client/tools/run_on_bots.py |
index 9e3eff1ddb4d489df9c1950daf95ba36b66f326b..33f2f5e3fd12a5047cff59ed876e2c4d436ac7f2 100755 |
--- a/client/tools/run_on_bots.py |
+++ b/client/tools/run_on_bots.py |
@@ -26,6 +26,7 @@ import parallel_execution |
from third_party import colorama |
from third_party.depot_tools import fix_encoding |
+from utils import file_path |
from utils import tools |
@@ -67,7 +68,7 @@ def archive(isolate_server, script): |
] |
return subprocess.check_output(cmd, cwd=ROOT_DIR).split()[0] |
finally: |
- shutil.rmtree(tempdir) |
+ file_path.rmtree(tempdir) |
def run_serial( |