]> git.baikalelectronics.ru Git - uboot.git/commit
patman: Update cros_subprocess to use bytes
authorSimon Glass <sjg@chromium.org>
Sat, 11 May 2019 18:46:39 +0000 (12:46 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:43 +0000 (16:52 -0600)
commitc6cf67ce8a4c9e2b7265580639a344c05762935e
treeec7dcc4d8e6e8ad74aaebce9880b19b230ecef95
parentda4bf6069b390340df38bb44acd57e1828eee80f
patman: Update cros_subprocess to use bytes

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@chromium.org>
tools/patman/cros_subprocess.py
tools/patman/gitutil.py