mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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>
This commit is contained in:
parent
31f9f0ea57
commit
8ab452d587
3 changed files with 5 additions and 5 deletions
|
@ -198,9 +198,9 @@ class TestFunctional(unittest.TestCase):
|
|||
line += 4
|
||||
self.assertEqual(expected, tools.ToUnicode(lines[line]))
|
||||
|
||||
self.assertEqual(('%s %s, %s' % (args[0], rick, stefan)),
|
||||
self.assertEqual(('%s %s\0%s' % (args[0], rick, stefan)),
|
||||
tools.ToUnicode(cc_lines[0]))
|
||||
self.assertEqual(('%s %s, %s, %s, %s' % (args[1], fred, ed, rick,
|
||||
self.assertEqual(('%s %s\0%s\0%s\0%s' % (args[1], fred, ed, rick,
|
||||
stefan)), tools.ToUnicode(cc_lines[1]))
|
||||
|
||||
expected = '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue