summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-08-15 04:44:26 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-15 04:44:26 +0000
commit88a06c612e3321c3e8773c0791396b391a867e6c (patch)
treec8aef709a9d2d17a8d962fb0de10e73a627bd791
parent631162a347f8bc5f25b04729c29e4948f77b2622 (diff)
parentc4221d66a9f812f4a9b10ff23f0ba14e8f689651 (diff)
Merge "task: initialize result"
-rw-r--r--yardstick/cmd/commands/task.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yardstick/cmd/commands/task.py b/yardstick/cmd/commands/task.py
index 8d8ea2b3c..bd5447836 100644
--- a/yardstick/cmd/commands/task.py
+++ b/yardstick/cmd/commands/task.py
@@ -50,6 +50,8 @@ class TaskCommands(object): # pragma: no cover
param = change_osloobj_to_paras(args)
self.output_file = param.output_file
+ result = {}
+
try:
result = Task().start(param, **kwargs)
except Exception as e: