patman: Use unicode for file I/O
authorSimon Glass <sjg@chromium.org>
Thu, 31 Oct 2019 13:42:51 +0000 (07:42 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Nov 2019 01:15:32 +0000 (18:15 -0700)
commit272cd85deb714a9c9c1c30cb900c70a157dfa2e1
tree098b089612396dae0135877542b65495b8116eba
parent3b3e3c0f6c261a8c9f989d437dc261ba84467d4f
patman: Use unicode for file I/O

At present patman test fail in some environments which don't use utf-8
as the default file encoding. Add this explicitly.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/func_test.py
tools/patman/patchstream.py
tools/patman/series.py
tools/patman/settings.py
tools/patman/test.py