diff options
author | chenliangyjy <chenliangyjy@chinamobile.com> | 2020-03-19 10:10:00 +0800 |
---|---|---|
committer | chenliangyjy <chenliangyjy@chinamobile.com> | 2020-03-19 10:45:25 +0800 |
commit | 12c9651ae71ab27287d1fe27e625087e6008f9a0 (patch) | |
tree | aec1504ad1ed789d94f46ede26aa01f22c4ed87a /tools/hdv/redfish/excel_2_yaml.py | |
parent | 004298391e45dee9421748bc1312cda5d2af2d43 (diff) |
fix flake8 checking issue of hdv
Signed-off-by: chenliangyjy <chenliangyjy@chinamobile.com>
Change-Id: Ie779c186635e57fe5d900df7326e4a704ebcad42
Diffstat (limited to 'tools/hdv/redfish/excel_2_yaml.py')
-rw-r--r-- | tools/hdv/redfish/excel_2_yaml.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/hdv/redfish/excel_2_yaml.py b/tools/hdv/redfish/excel_2_yaml.py index 3bda3d5..948ead3 100644 --- a/tools/hdv/redfish/excel_2_yaml.py +++ b/tools/hdv/redfish/excel_2_yaml.py @@ -13,7 +13,7 @@ convert excel config to yaml format config: depends.yaml and cases.yaml. import os import yaml from openpyxl.reader.excel import load_workbook -#pylint: disable=E0611 +# pylint: disable=E0611 from log_utils import LOGGER @@ -45,6 +45,7 @@ def load_sheet(excel_file, sheet_index, start_col, end_col): LOGGER.info(rows_list) return rows_list + def create_yaml(id_dict, yaml_file): ''' create yaml |