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

Unified Diff: recipe_modules/step/api.py

Issue 2985323002: Add support for LUCI_CONTEXT.
Patch Set: Created 3 years, 5 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
« recipe_modules/context/test_api.py ('K') | « recipe_modules/context/test_api.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/step/api.py
diff --git a/recipe_modules/step/api.py b/recipe_modules/step/api.py
index 789afd1df5e8e1ce80ea42ff433bd0adf258b017..199db48f78f6e59a86b1697d360fe817ae206e75 100644
--- a/recipe_modules/step/api.py
+++ b/recipe_modules/step/api.py
@@ -6,7 +6,6 @@
etc.)."""
import contextlib
-import copy
import types
from recipe_engine import recipe_api
@@ -210,6 +209,7 @@ class StepApi(recipe_api.RecipeApiPlain):
prefixes=env_prefixes,
pathsep=self.m.path.pathsep,
),
+ luci_context=self.m.context.luci_context,
allow_subannotations=bool(allow_subannotations),
trigger_specs=[self._make_trigger_spec(trig)
for trig in (trigger_specs or ())],
« recipe_modules/context/test_api.py ('K') | « recipe_modules/context/test_api.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698