zephyr/scripts/kconfig
Wenbo Yang 999290278e hardening: Deal with empty lines in csv file
The extra empty line broke the "ninja hardenconfig" on my machine with
Python 3.7.5, it complains:

"
... ...
File "/home/zephyrproject/zephyr/scripts/kconfig/hardenconfig.py",
line 46, in compare_with_hardened_conf

name = row[0]
IndexError: list index out of range
FAILED: CMakeFiles/hardenconfig
"

The csv.reader reads this empty line and gets an empty list which will
not be successfully "de-referenced". Adding extra check to skip the
empty lines.

Signed-off-by: Wenbo Yang <wenbo.yangcn@gmail.com>
2020-08-12 16:43:18 -04:00
..
diffconfig
guiconfig.py
hardenconfig.py hardening: Deal with empty lines in csv file 2020-08-12 16:43:18 -04:00
hardened.csv Bluetooth: Add config option to disable security checks 2020-07-23 11:00:04 +02:00
kconfig.py
kconfigfunctions.py scripts: kconfigfunctions: add a comment 2020-07-23 11:00:39 +02:00
kconfiglib.py
lint.py
menuconfig.py