patman: separate emails in CC list with NULs
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 22 Oct 2019 03:09:56 +0000 (20:09 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 27 Oct 2019 16:56:51 +0000 (10:56 -0600)
commit8ab452d5877638a97e5bdd521d119403b70b45f5
tree22bc9fc5374676467651c018522f88e4cdc77ff5
parent31f9f0ea571c12e914eda400b242d4a0a4b39f43
patman: separate emails in CC list with NULs

There is a contributor in Linux kernel with a comma in their name, which
confuses patman and results in invalid to- or cc- addresses on some
patches. To avoid this, let's use \0 as a separator when generating cc
file.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/patman/func_test.py
tools/patman/patman.py
tools/patman/series.py