summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-08-14 21:32:52 -0700
committerRoss Brattain <ross.b.brattain@intel.com>2017-08-14 21:35:15 -0700
commitc4221d66a9f812f4a9b10ff23f0ba14e8f689651 (patch)
tree92c34b581f5d9d53afe8e2a693a90d8308c2eea6
parenta9760ae1ff8cd398ec8c0d950b59f39177c62121 (diff)
task: initialize result
Change-Id: I8d6b9bed24c9afa4be54296515e6aa91e84fe650 Signed-off-by: Martin Banszel <martinx.banszel@intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
-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: