Re: [U-Boot] [PATCH v2 01/21] patman: Update cros_subprocess to use bytes

2019-07-11 Thread Simon Glass
On Wed, 10 Jul 2019 at 16:51, Simon Glass wrote: > > At present this function uses lists and strings. This does not work so > well with Python 3, and testing against '' does not work for a bytearray. > Update the code to fix these issues. > > Signed-off-by: Simon Glass > --- > > Changes in v2: >

[U-Boot] [PATCH v2 01/21] patman: Update cros_subprocess to use bytes

2019-07-10 Thread Simon Glass
At present this function uses lists and strings. This does not work so well with Python 3, and testing against '' does not work for a bytearray. Update the code to fix these issues. Signed-off-by: Simon Glass --- Changes in v2: - Update to use bytes instead of bytearray tools/patman/cros_subpr