patman: fix coverletter cc list with nulls
PATCH 1/1 patman: fix coverletter cc list with nulls
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.
---
tools/patman/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/patman/series.py +1 -1
@@ -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
Signature · 1 line
2.20.1
PATCH 1/1 patman: fix coverletter cc list with nulls
Hi Robert,
Quoted 8 lines · Robert Beckett
Fixes 8ab452d5877638a97e5bdd521d119403b70b45f5When 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.
Quoted 7 lines
Fix this by not encoding to utf-8, as done for the other patch files.
Signed-off-by Robert Beckett <[email protected]>---
tools/patman/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
I had applied my own patch to fix this but I think I like yours better.
PATCH 1/1 patman: fix coverletter cc list with nulls
Hi Robert,
Quoted 8 lines · Robert Beckett
Fixes 8ab452d5877638a97e5bdd521d119403b70b45f5When 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.
Quoted 7 lines
Fix this by not encoding to utf-8, as done for the other patch files.
Signed-off-by Robert Beckett <[email protected]>---
tools/patman/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
I had applied my own patch to fix this but I think I like yours better.
Applied to u-boot-dm, thanks!
PATCH 1/1 patman: fix coverletter cc list with nulls
Hi Robert,
Quoted 8 lines · Robert Beckett
Fixes 8ab452d5877638a97e5bdd521d119403b70b45f5When 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.
Quoted 7 lines
Fix this by not encoding to utf-8, as done for the other patch files.
Signed-off-by Robert Beckett <[email protected]>---
tools/patman/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
I had applied my own patch to fix this but I think I like yours better.
Applied to u-boot-dm, thanks!
Applied to u-boot-dm, thanks!
PATCH 1/1 patman: fix coverletter cc list with nulls
Hi Robert,
Quoted 8 lines · Robert Beckett
Fixes 8ab452d5877638a97e5bdd521d119403b70b45f5When 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.
Quoted 7 lines
Fix this by not encoding to utf-8, as done for the other patch files.
Signed-off-by Robert Beckett <[email protected]>---
tools/patman/series.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
I had applied my own patch to fix this but I think I like yours better.
Applied to u-boot-dm, thanks!
Applied to u-boot-dm, thanks!
Applied to u-boot-dm, thanks!