diff options
author | Andrew <andrewlassalle@chromium.org> | 2019-11-23 20:32:35 -0800 |
---|---|---|
committer | Nicolas Boichat <drinkcat@chromium.org> | 2019-11-25 13:25:55 +0000 |
commit | 8a1de4b6b8e368d7bd2b92f015a83f49764f7b79 (patch) | |
tree | 0c1dc401270e8eee6462f923ffb34fc6e1389fd9 /scripts/update_payload/format_utils_unittest.py | |
parent | 6955bcc4ffe4cc9d62a88186b9a7e75d095a7897 (diff) |
update_payload: Fix array type in applier.py
In python3, the array type 'c' is no longer supported. Type 'c' arrays
are replaced by type 'b'(signed char) and 'B'(unsigned char). 'B' is
supported by python 2 and python3.
Replaced deprecate function 'buffer' by memoryview in python3.
BUG=chromium:1027199
TEST=unittest, cros_generate_update_payload, tryjob
Change-Id: Id77ba2d1aac0005d31516da4e6ac4617027ca345
Exempt-From-Owner-Approval: -release builders are on fire
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/1932226
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Commit-Queue: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions