From: Ondrej Lichtner <olichtne(a)redhat.com>
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst/Common/NetTestCommand.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnst/Common/NetTestCommand.py b/lnst/Common/NetTestCommand.py
index 30aaabf..b894363 100644
--- a/lnst/Common/NetTestCommand.py
+++ b/lnst/Common/NetTestCommand.py
@@ -332,7 +332,7 @@ class NetTestCommandGeneric(object):
if type(value) == dict:
formatted_data += level*4*" " + str(key) + ":\n"
formatted_data += self.format_res_data(value, level+1)
- if type(value) == list:
+ elif type(value) == list:
formatted_data += level*4*" " + str(key) + ":\n"
for i in range(0, len(value)):
formatted_data += (level+1)*4*" " +\
--
2.14.2