| Index: tools/binary_size/file_format.py
|
| diff --git a/tools/binary_size/file_format.py b/tools/binary_size/file_format.py
|
| index 54503eceedebc2e1cac0831c78890fba4799e4fd..0db5df265c5bcdbf993aef57317b91086fc22cb9 100644
|
| --- a/tools/binary_size/file_format.py
|
| +++ b/tools/binary_size/file_format.py
|
| @@ -99,7 +99,7 @@ def _LoadSizeInfoFromFile(file_obj):
|
| json_str = file_obj.read(json_len)
|
| headers = json.loads(json_str)
|
| section_sizes = headers['section_sizes']
|
| - metadata = headers['metadata']
|
| + metadata = headers.get('metadata')
|
| lines = iter(file_obj)
|
| next(lines) # newline after closing } of json.
|
|
|
|
|