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

Simon Glass sjg at chromium.org
Thu Jul 11 17:16:53 UTC 2019


On Wed, 10 Jul 2019 at 16:51, Simon Glass <sjg at chromium.org> 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 <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Update to use bytes instead of bytearray
>
>  tools/patman/cros_subprocess.py | 47 +++++++++++++++++++--------------
>  tools/patman/gitutil.py         |  2 ++
>  2 files changed, 29 insertions(+), 20 deletions(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list