mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
patman: Tidy up a few more unicode conversions
Use the new functions in the tools module to handle conversion. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -412,9 +412,7 @@ def EmailPatches(series, cover_fname, args, dry_run, raise_on_error, cc_fname,
|
||||
if smtp_server:
|
||||
cmd.append('--smtp-server=%s' % smtp_server)
|
||||
if in_reply_to:
|
||||
if type(in_reply_to) != str:
|
||||
in_reply_to = in_reply_to.encode('utf-8')
|
||||
cmd.append('--in-reply-to="%s"' % in_reply_to)
|
||||
cmd.append('--in-reply-to="%s"' % tools.FromUnicode(in_reply_to))
|
||||
if thread:
|
||||
cmd.append('--thread')
|
||||
|
||||
|
Reference in New Issue
Block a user