patman: Move unicode helpers to tools
authorSimon Glass <sjg@chromium.org>
Tue, 14 May 2019 21:53:50 +0000 (15:53 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commit513eace47d63161cabfd3cce82f3e075525b164a
tree912b530a6efc46823f3e2f6e9894b0a5cb09e386
parentade1e3864f1508ad0ccbce72a39d815c2d7d7c87
patman: Move unicode helpers to tools

Create helper functions in the tools module to deal with the differences
between unicode in Python 2 (where we use the 'unicode' type) and Python 3
(where we use the 'str' type).

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