diff options
| author | 2021-04-29 15:24:50 +0800 | |
|---|---|---|
| committer | 2021-04-29 07:40:46 +0000 | |
| commit | f63abb1cae1f389482aac2994a2fa107ce3b3de6 (patch) | |
| tree | f19ac906ac04089e4775adc9420236067e2b4698 /tools/warn/java_warn_patterns.py | |
| parent | a6d2d8c79a1d51d3066ca26d6b08e26717ffa012 (diff) | |
Avoid to print undefined image_size and partition_size
If dynamic partitioning is enabled and the partition size is not set,
we will get a KeyError before image_size or partition_size is calculated
when we try to catch exception in BuildImageMkfs.
Bug: 186704243
Test: build_image.py can correctly throw exception
Change-Id: I3d8c143ad5603d07fe94afb8bb911ead244f0bf7
Signed-off-by: Huang Jianan <huangjianan@oppo.com>
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions