summaryrefslogtreecommitdiff
path: root/tools/patman/series.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-10-31 07:42:50 -0600
committerSimon Glass <sjg@chromium.org>2019-11-04 18:15:32 -0700
commit3b3e3c0f6c261a8c9f989d437dc261ba84467d4f (patch)
treefef28e49d1b53f29979a5a2c5ed88065bcc5fbe9 /tools/patman/series.py
parentf0921f5098d8d98ac38121837aaf7c4b4cb13bb4 (diff)
patman: Adjust 'command' to return strings instead of bytes
At present all the 'command' methods return bytes. Most of the time we actually want strings, so change this. We still need to keep the internal representation as bytes since otherwise unicode strings might break over a read() boundary (e.g. 4KB), causing errors. But we can convert the end result to strings. Add a 'binary' parameter to cover the few cases where bytes are needed. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/series.py')
0 files changed, 0 insertions, 0 deletions