commit | 8322999d81e8ba38d2ceaf70323dad3ee643702a | [log] [tgz] |
---|---|---|
author | Hridya Valsaraju <hridya@google.com> | Fri Aug 28 15:11:13 2020 -0700 |
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | Tue Sep 15 21:04:11 2020 +0200 |
tree | a5a723c1ef0381857abaddbb77a24d3f85d091e5 | |
parent | 60c37a5a27298b22eda03443283ccf03801f3cea [diff] |
Make mkdtboimg.py compatible with python3 There are a few changes needed to run mkdtboimg.py with python3. -No more implicit conversion between char and byte. -xrange was renamed to range in python3 -floor division must be done with the '//' operator Bug: 166496956 Test: ./mkdtboimg_testdata.sh Test: atest FirmwareDtboVerification Change-Id: I8b9b97b7b9f31768cc133f37d0144420cb1a0e81