aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipe_modules/vars/api.py
diff options
context:
space:
mode:
authorGravatar Robert Iannucci <iannucci@google.com>2017-05-12 19:09:38 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-15 13:46:22 +0000
commit297a7efd54495a06a7473eb8d99b211fd511766c (patch)
tree44b09641b37f75abe50d849a1082b6d9b6c6a459 /infra/bots/recipe_modules/vars/api.py
parent9018952290a468886c819405c6d9495b4aa5d7d4 (diff)
[skia] convert recipes and module to new context module
This is a syntax-only change to convert to the new (documented) context module. R=borenet@google.com Bug: skia: Change-Id: Id907c309d3cf38b85a46f6d8d7ce90ed58ba026f Reviewed-on: https://skia-review.googlesource.com/16840 Commit-Queue: Eric Boren <borenet@google.com> Reviewed-by: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/recipe_modules/vars/api.py')
-rw-r--r--infra/bots/recipe_modules/vars/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/bots/recipe_modules/vars/api.py b/infra/bots/recipe_modules/vars/api.py
index dbafc90ac3..e48de5bee6 100644
--- a/infra/bots/recipe_modules/vars/api.py
+++ b/infra/bots/recipe_modules/vars/api.py
@@ -28,7 +28,7 @@ class SkiaVarsApi(recipe_api.RecipeApi):
self.slave_dir = self.m.path['start_dir']
self.checkout_root = self.slave_dir
- self.default_env = self.m.step.get_from_context('env', {})
+ self.default_env = self.m.context.env
self.default_env['CHROME_HEADLESS'] = '1'
self.default_env['PATH'] = self.m.path.pathsep.join([
self.default_env.get('PATH', '%(PATH)s'),