Simon Glass
e6d85ff9f2
binman: Handle repeated bytes for Python 3
...
The method of multiplying a character by a number works well for creating
a repeated string in Python 2. But in Python 3 we need to use bytes()
instead, to avoid unicode problems, since 'bytes' is no-longer just an
alias of 'str'.
Create a function to handle this detail and call it from the relevant
places in binman.
Signed-off-by: Simon Glass <sjg@chromium.org >
2019-07-10 16:52:58 -06:00
..
2018-09-29 11:49:35 -06:00
2018-09-28 11:09:01 -06:00
2018-08-01 16:30:48 -06:00
2019-07-10 16:52:58 -06:00
2018-08-01 16:30:48 -06:00
2018-09-29 11:49:35 -06:00
2019-07-10 16:52:58 -06:00
2018-09-29 11:49:35 -06:00
2019-07-10 16:52:45 -06:00
2018-08-01 16:30:48 -06:00
2018-08-01 16:30:48 -06:00
2018-08-01 16:30:48 -06:00
2018-08-01 16:30:48 -06:00
2018-08-01 16:30:48 -06:00
2018-10-22 17:51:45 +08:00
2018-08-01 16:30:48 -06:00
2018-08-01 16:30:48 -06:00
2018-09-27 10:13:51 -07:00
2019-05-08 12:44:07 +08:00
2019-05-08 12:44:07 +08:00
2018-09-29 11:49:35 -06:00
2018-09-28 11:09:01 -06:00
2018-11-20 19:14:22 -07:00
2018-08-01 16:30:48 -06:00
2018-08-01 16:30:48 -06:00
2019-07-10 16:52:58 -06:00
2018-09-28 11:09:01 -06:00
2018-09-29 11:49:35 -06:00
2018-08-01 16:30:48 -06:00
2018-09-29 11:49:35 -06:00
2018-08-01 16:30:48 -06:00
2018-09-29 11:49:35 -06:00
2018-09-28 11:09:01 -06:00
2018-09-29 11:49:35 -06:00
2018-08-01 16:30:48 -06:00
2018-09-29 11:49:35 -06:00
2018-09-29 11:49:35 -06:00
2018-08-01 16:30:48 -06:00
2019-05-08 12:44:07 +08:00
2018-08-01 16:30:48 -06:00
2018-09-28 11:09:01 -06:00
2018-08-01 16:30:48 -06:00