summaryrefslogtreecommitdiff
path: root/tools/warn/java_warn_patterns.py
diff options
context:
space:
mode:
author Kelvin Zhang <zhangkelvin@google.com> 2024-09-04 17:03:24 -0700
committer Kelvin Zhang <zhangkelvin@google.com> 2024-09-04 17:03:24 -0700
commit0c9a6ffb002857fa2d6cd551c2f308f70365a4a6 (patch)
tree0511d8cafa981da46f7c5d241e3a1d5ffbe2fb88 /tools/warn/java_warn_patterns.py
parent5fcaa1f635ca9bb6ba9f1c68391325bb4217d0cb (diff)
Fix str/bytes type error in ReplaceOtaKeys
ZipFile.read() returns byte sequence, while re.match expects str. Decode the bytes read first. Test: th Bug: 315855025 Change-Id: Id2da071f3caeab56cfac845a9e4f842c4e102f49
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions