mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 09:42:22 +02:00
patman: Drop unicode helper functions
We don't need these now that everything uses Python 3. Remove them and the extra code in GetBytes() and ToBytes() too. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -383,7 +383,6 @@ def BuildEmailList(in_list, tag=None, alias=None, raise_on_error=True):
|
||||
raw += LookupEmail(item, alias, raise_on_error=raise_on_error)
|
||||
result = []
|
||||
for item in raw:
|
||||
item = tools.FromUnicode(item)
|
||||
if not item in result:
|
||||
result.append(item)
|
||||
if tag:
|
||||
@@ -494,7 +493,7 @@ send --cc-cmd cc-fname" cover p1 p2'
|
||||
if smtp_server:
|
||||
cmd.append('--smtp-server=%s' % smtp_server)
|
||||
if in_reply_to:
|
||||
cmd.append('--in-reply-to="%s"' % tools.FromUnicode(in_reply_to))
|
||||
cmd.append('--in-reply-to="%s"' % in_reply_to)
|
||||
if thread:
|
||||
cmd.append('--thread')
|
||||
|
||||
|
Reference in New Issue
Block a user