aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2016-02-15 09:45:01 +0100
committerMatus Fabian <matfabia@cisco.com>2016-02-15 09:45:01 +0100
commitc662f5045a4812540fcc11006ae865351090035b (patch)
tree9002c8ea7d88c89bed5f992685e22c2333c08d46
parentff4267226342a04c4ef5edf9748b1c09cbe251c6 (diff)
Fixed vat_terminal_exec_cmd_from_template
Change-Id: I6ecabd5c66b30f74f9efea24f94139f089c579bf Signed-off-by: Matus Fabian <matfabia@cisco.com>
-rw-r--r--resources/libraries/python/VatExecutor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/VatExecutor.py b/resources/libraries/python/VatExecutor.py
index 5582a869b7..aff8c36130 100644
--- a/resources/libraries/python/VatExecutor.py
+++ b/resources/libraries/python/VatExecutor.py
@@ -193,5 +193,5 @@ class VatTerminal(object):
ret = []
for line_tmpl in cmd_template:
vat_cmd = line_tmpl.format(**args)
- ret.append(self.vat_terminal_exec_cmd(vat_cmd))
+ ret.append(self.vat_terminal_exec_cmd(vat_cmd.replace('\n', '')))
return ret