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

Unified Diff: recipe_modules/json/api.py

Issue 1785543004: Split Placeholder into InputPlaceholder and OutputPlaceholder. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Fix nits. Created 4 years, 9 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
Index: recipe_modules/json/api.py
diff --git a/recipe_modules/json/api.py b/recipe_modules/json/api.py
index e65e3135d723d3313bddedc52cb6340efa9f101c..eda76483fb95920380ba7a2e32874744136cf335 100644
--- a/recipe_modules/json/api.py
+++ b/recipe_modules/json/api.py
@@ -12,7 +12,7 @@ from recipe_engine import util as recipe_util
from recipe_engine import config_types
-class JsonOutputPlaceholder(recipe_util.Placeholder):
+class JsonOutputPlaceholder(recipe_util.OutputPlaceholder):
"""JsonOutputPlaceholder is meant to be a placeholder object which, when added
to a step's cmd list, will be replaced by annotated_run with the path to a
temporary file (e.g. /tmp/tmp4lp1qM) which will exist only for the duration of

Powered by Google App Engine
This is Rietveld 408576698