From: Ondrej Lichtner <olichtne(a)redhat.com>
Should have an empty default value if the parameter wasn't set to
anything.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst/Tests/Iperf.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lnst/Tests/Iperf.py b/lnst/Tests/Iperf.py
index 3b5777d..d673164 100644
--- a/lnst/Tests/Iperf.py
+++ b/lnst/Tests/Iperf.py
@@ -128,6 +128,8 @@ class IperfClient(IperfBase):
if "parallel" in self.params:
parallel = "-P {:d}".format(self.params.parallel)
+ else:
+ parallel = ""
if self.params.udp:
test = "--udp"
--
2.19.1