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

Unified Diff: scripts/slave/recipe_modules/step/api.py

Issue 187203005: Minor cleanup of some recipe framework code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 6 years, 10 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: scripts/slave/recipe_modules/step/api.py
diff --git a/scripts/slave/recipe_modules/step/api.py b/scripts/slave/recipe_modules/step/api.py
index 719f7a39ed08f0e3c6c34619dfb75ee267b42c07..60a18236881032a708933a185dada96a8ac5b68b 100644
--- a/scripts/slave/recipe_modules/step/api.py
+++ b/scripts/slave/recipe_modules/step/api.py
@@ -6,11 +6,11 @@ from slave import recipe_api
from slave import recipe_util
class StepApi(recipe_api.RecipeApi):
- def __init__(self, *args, **kwargs):
+ def __init__(self, **kwargs):
+ super(StepApi, self).__init__(**kwargs)
Vadim Sh. 2014/03/05 06:09:30 This seems to be more in line with other modules.
iannucci 2014/03/05 20:43:37 Yeah, no reason not to.
self._auto_resolve_conflicts = False
self._name_function = None
self._step_names = {}
- super(StepApi, self).__init__(*args, **kwargs)
# Making these properties makes them show up in show_me_the_modules,
# and also makes it clear that they are intended to be mutated.

Powered by Google App Engine
This is Rietveld 408576698