Merge branch 'fix/nvs_tool_invalid_entry_none_check_v5.1' into 'release/v5.1'

NVS: nvs_tool.py entry.data None check fix (v5.1)

See merge request espressif/esp-idf!24495
This commit is contained in:
Jiang Jiang Jian 2023-09-11 10:09:08 +08:00
commit 79cd68f969

View File

@ -217,7 +217,10 @@ def dump_everything(nvs_partition: NVS_Partition, written_only: bool = False) ->
'blob_index',
'blob',
]: # Entry is non-variable length
nvs_log.info(entry.data['value'])
if entry.data is not None:
nvs_log.info(entry.data['value'])
else:
nvs_log.info(entry.data) # None
else:
if entry.metadata['type'] == 'blob_index':
nvs_log.info(