From 9d790ff8535e71d6ec9f6993a2730ef3249515a4 Mon Sep 17 00:00:00 2001 From: Vikas Choudhary Date: Mon, 31 Aug 2015 09:12:32 +0530 Subject: [PATCH] Fix method and parameter descriptions Method and parameter descriptions are being corrected for typo mistakes and increase readability. In parameter 'context' description, it should be 'for' instead of 'from'. Similar few other typos are being addressed. Change-Id: I6ff2072bf9dcd5ee2414c8b6d000aa155ee29be0 Closes-Bug: #1490379 --- magnum/conductor/template_definition.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/magnum/conductor/template_definition.py b/magnum/conductor/template_definition.py index c0750f8fac..135ddb4ea9 100644 --- a/magnum/conductor/template_definition.py +++ b/magnum/conductor/template_definition.py @@ -280,12 +280,12 @@ class TemplateDefinition(object): return None def get_params(self, context, baymodel, bay, **kwargs): - """Pulls template parameters from Baymodel and Bay. + """Pulls template parameters from Baymodel and/or Bay. - :param context: Context to pull template parameters from + :param context: Context to pull template parameters for :param baymodel: Baymodel to pull template parameters from :param bay: Bay to pull template parameters from - :param extra_params: Any extra params to provide to the template + :param extra_params: Any extra params to be provided to the template :return: dict of template parameters """