summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobert Beckett <bob.beckett@collabora.com>2019-11-13 21:39:45 +0300
committerSimon Glass <sjg@chromium.org>2019-11-14 16:09:34 +0300
commit677dac23d8ebfc0342f903aeee2a75e737fd4d7e (patch)
tree310489bcb24381f34630267dfe2f4b08aa12ad2f /tools
parentab4a6aba7f715cff2486e747e4c288043914310a (diff)
downloadu-boot-677dac23d8ebfc0342f903aeee2a75e737fd4d7e.tar.xz
patman: fix coverletter cc list with nulls
fixes: 8ab452d5877638a97e5bdd521d119403b70b45f5 When compiling list of cover letter cc addresses, using null as a separater, then encoding to utf-8 results in lots of "\x00" as separators. patman then doesnt understand that when it comes to repoting the list to send-email. Fix this by not encoding to utf-8, as done for the other patch files. Signed-off-by: Robert Beckett <bob.beckett@collabora.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/patman/series.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/series.py b/tools/patman/series.py
index 02a1113ad0..a15f7625ed 100644
--- a/tools/patman/series.py
+++ b/tools/patman/series.py
@@ -251,7 +251,7 @@ class Series(dict):
cover_cc = [tools.FromUnicode(m) for m in cover_cc]
cc_list = '\0'.join([tools.ToUnicode(x)
for x in sorted(set(cover_cc + all_ccs))])
- print(cover_fname, cc_list.encode('utf-8'), file=fd)
+ print(cover_fname, cc_list, file=fd)
fd.close()
return fname