diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-08 20:36:18 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-13 07:58:17 -0700 |
commit | fc0056e8d5ab62adc17455c99864d9a974633a46 (patch) | |
tree | bdb79ac7a36cc03636735f863c1ee53c9e36f488 /tools/patman/series.py | |
parent | 5ea9dccf02eb26d146dbc1fdb3106135612820ae (diff) | |
download | u-boot-fc0056e8d5ab62adc17455c99864d9a974633a46.zip u-boot-fc0056e8d5ab62adc17455c99864d9a974633a46.tar.gz u-boot-fc0056e8d5ab62adc17455c99864d9a974633a46.tar.bz2 |
patman: Drop unicode helper functions
We don't need these now that everything uses Python 3. Remove them and
the extra code in GetBytes() and ToBytes() too.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/series.py')
-rw-r--r-- | tools/patman/series.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/patman/series.py b/tools/patman/series.py index 1d92bdb..a6746e8 100644 --- a/tools/patman/series.py +++ b/tools/patman/series.py @@ -272,7 +272,6 @@ class Series(dict): for x in set(cc) & set(settings.bounces): print(col.Color(col.YELLOW, 'Skipping "%s"' % x)) cc = set(cc) - set(settings.bounces) - cc = [tools.FromUnicode(m) for m in cc] if limit is not None: cc = cc[:limit] all_ccs += cc @@ -281,11 +280,10 @@ class Series(dict): if cover_fname: cover_cc = gitutil.BuildEmailList(self.get('cover_cc', '')) - cover_cc = [tools.FromUnicode(m) for m in cover_cc] cover_cc = list(set(cover_cc + all_ccs)) if limit is not None: cover_cc = cover_cc[:limit] - cc_list = '\0'.join([tools.ToUnicode(x) for x in sorted(cover_cc)]) + cc_list = '\0'.join([x for x in sorted(cover_cc)]) print(cover_fname, cc_list, file=fd) fd.close() |