aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/library/parse_shell_file.py
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-03-14 11:46:53 +0000
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-03-14 11:58:38 +0000
commitd07a9a7d18baa7dafbf12d2da9c554aa1718933f (patch)
tree250632577b3a8409897f807168f2b1c2ff998b6c /ansible/library/parse_shell_file.py
parent4b8b674b65830a24230faed71e8d9a1048139c89 (diff)
Fix retrieving "options" section in "scenario"
In [1] a new method to rename the "scenario" host names was implemented. This method parses all sections with host names and applies the "qualified" name. Some malformed test cases define the "options" section without content. This causes that [2] retrieves "None" value instead of an empty dictionary. This possibility must be handled in the new method. [1]I44da30dac562c1a4166e084645ae91c17798651d [2]https://github.com/opnfv/yardstick/blob/4b8b674b65830a24230faed71e8d9a1048139c89/yardstick/benchmark/core/task.py#L630 JIRA: YARDSTICK-1073 Change-Id: I8864b428734ead8c5aa39de5091d3a2a691be060 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Diffstat (limited to 'ansible/library/parse_shell_file.py')
0 files changed, 0 insertions, 0 deletions