diff options
author | Simon Glass <sjg@chromium.org> | 2025-05-08 04:38:30 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2025-05-27 10:07:42 +0100 |
commit | 0664a956e674027a1383c8c114377dcdf5b86e41 (patch) | |
tree | 180147cec0d9f94f514df60420e916d452235fdc /tools/patman/func_test.py | |
parent | db5d98de55066db3b1ee3514bbf0fd304ec7775e (diff) |
u_boot_pylib: Tidy up quoting of cc and to
The current approach to calling 'git send-email' puts double quotes
around each email address to ensure that it will pass the shell
correctly. This is a bit cumbersome and requires using a shell to sort
it all out.
Drop the quotes and use command.run() instead, to simplify things. This
will also make it possible to (later) set the current directory.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/func_test.py')
-rw-r--r-- | tools/patman/func_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py index 3a34302fc57..7f9175ea44f 100644 --- a/tools/patman/func_test.py +++ b/tools/patman/func_test.py @@ -292,7 +292,7 @@ class TestFunctional(unittest.TestCase): self.assertEqual(' Cc: %s' % mel, next(lines)) self.assertEqual(' Cc: %s' % rick, next(lines)) expected = ('Git command: git send-email --annotate ' - '--in-reply-to="%s" --to "u-boot@lists.denx.de" ' + '--in-reply-to="%s" --to u-boot@lists.denx.de ' '--cc "%s" --cc-cmd "%s send --cc-cmd %s" %s %s' % (in_reply_to, stefan, sys.argv[0], cc_file, cover_fname, ' '.join(args))) |