update tools/rom_ram_analyzer/lite_small/src/rom_analysis.py.

Signed-off-by: flying <pengmengjie1@huawei.com>
This commit is contained in:
flying 2023-12-24 07:29:17 +00:00 committed by Gitee
parent 32ed3da925
commit e31ddc0ac9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -251,7 +251,8 @@ class RomAnalysisTool:
component_end_row = 0
component_col = 1
baseline_col = 2
del tmp_dict["size"]
if "size" in tmp_dict.keys():
del tmp_dict["size"]
for subsystem_name in tmp_dict.keys():
subsystem_dict = tmp_dict.get(subsystem_name)
subsystem_size = subsystem_dict.get("size")