update tools/rom_ram_analyzer/standard/rom_analyzer.py.

Signed-off-by: flying <pengmengjie1@huawei.com>
This commit is contained in:
flying 2024-10-25 08:41:41 +00:00 committed by Gitee
parent d80a6d8d66
commit 1946d9feee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -55,7 +55,6 @@ class PreCollector:
self._process_single_sa(item, start_pattern=grep_kw) self._process_single_sa(item, start_pattern=grep_kw)
def _process_single_sa(self, item: str, start_pattern: str): def _process_single_sa(self, item: str, start_pattern: str):
print(f"item:{item.split(':')}")
gn, _, _ = item.split(':') gn, _, _ = item.split(':')
with open(gn, 'r', encoding='utf-8') as f: with open(gn, 'r', encoding='utf-8') as f:
content = f.read() content = f.read()