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

Unified Diff: infra/bots/recipe_modules/run/api.py

Issue 2221423002: Use slave_build instead of checkout in run/api.py (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Initial upload Created 4 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/bots/recipe_modules/run/api.py
diff --git a/infra/bots/recipe_modules/run/api.py b/infra/bots/recipe_modules/run/api.py
index 20e82f2b1b12676afdf0b1ee32cdda7c656a6a1f..0763529cb474c5c74da6f1aa362026000e7305f0 100644
--- a/infra/bots/recipe_modules/run/api.py
+++ b/infra/bots/recipe_modules/run/api.py
@@ -62,8 +62,8 @@ class SkiaStepApi(recipe_api.RecipeApi):
def rmtree(self, path):
"""Wrapper around api.file.rmtree with environment fix."""
env = {}
- env['PYTHONPATH'] = str(self.m.path['checkout'].join(
- 'infra', 'bots', '.recipe_deps', 'build', 'scripts'))
+ env['PYTHONPATH'] = str(self.m.path['slave_build'].join(
+ 'skia', 'infra', 'bots', '.recipe_deps', 'build', 'scripts'))
self.m.file.rmtree(self.m.path.basename(path),
path,
env=env,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698