diff options
author | Deepak S <deepak.s@linux.intel.com> | 2017-08-12 15:13:21 -0700 |
---|---|---|
committer | Deepak S <deepak.s@linux.intel.com> | 2017-08-16 04:34:33 -0700 |
commit | 46383867760fa485fa20dbee69ca5ba72f50f467 (patch) | |
tree | cd9e48479d64c696bfc870c00075b25619ef4020 /ansible/roles/delete_flavor | |
parent | 95d9798e15d54270f73692b22b138b44f9defd7a (diff) |
Verify the route list before parsing the data key
Exception:
line 502, in get_route_data
return next((route[data_key] for route in route_list if route['if'] ==
port), None)
TypeError: 'NoneType' object is not iterable
Change-Id: Ia45d90a4e9a61cb917b23efd03b86eafb249b747
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Diffstat (limited to 'ansible/roles/delete_flavor')
0 files changed, 0 insertions, 0 deletions