From: Jiri Pirko jiri@mellanox.com
no need to put stdout there. Also this fixes json stdouwith keys unusable as element names in xml.
Signed-off-by: Jiri Pirko jiri@mellanox.com --- lnst/Common/NetTestCommand.py | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/lnst/Common/NetTestCommand.py b/lnst/Common/NetTestCommand.py index 52f2a73..f91cc37 100644 --- a/lnst/Common/NetTestCommand.py +++ b/lnst/Common/NetTestCommand.py @@ -419,6 +419,9 @@ class NetTestCommandExec(NetTestCommandGeneric): else: self.set_fail(res_data)
+ def format_res_data(self, res_data, level=0): + return "" + def _format_cmd_res_header(self): cmd_type = self._command["type"] cmd_val = self._command["command"]
lnst-developers@lists.fedorahosted.org