Delete base module not applicable definition.
In base module execute functional has exist repeat definition.
result and result_err use proc.communicate() value, the result
and result_err value '' out of use.
Change-Id: I1e1fc208b30f8bb367171e42cf688255fd9864f9
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
diff --git a/tempest/lib/cli/base.py b/tempest/lib/cli/base.py
index 3a97801..3fb56ec 100644
--- a/tempest/lib/cli/base.py
+++ b/tempest/lib/cli/base.py
@@ -58,8 +58,6 @@
if six.PY2:
cmd = cmd.encode('utf-8')
cmd = shlex.split(cmd)
- result = ''
- result_err = ''
stdout = subprocess.PIPE
stderr = subprocess.STDOUT if merge_stderr else subprocess.PIPE
proc = subprocess.Popen(cmd, stdout=stdout, stderr=stderr)