Docstring indicated "cmd" should be a list, when it's expected that it'll be a string.
Also, converted docstring to current epydoc-style list of function arguments. Signed-off-by: Adeodato Simo <[email protected]> --- qa/qa_utils.py | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/qa/qa_utils.py b/qa/qa_utils.py index 8c7eec3..110f4a3 100644 --- a/qa/qa_utils.py +++ b/qa/qa_utils.py @@ -146,10 +146,12 @@ def AssertCommand(cmd, fail=False, node=None): def GetSSHCommand(node, cmd, strict=True): """Builds SSH command to be executed. - Args: - - node: Node the command should run on - - cmd: Command to be executed as a list with all parameters - - strict: Whether to enable strict host key checking + @type node: string + @param node: node the command should run on + @type cmd: string + @param cmd: command to be executed in the node + @type strict: boolean + @param strict: whether to enable strict host key checking """ args = [ 'ssh', '-oEscapeChar=none', '-oBatchMode=yes', '-l', 'root', '-t' ] -- 1.7.3.1
