Decode text to ascii when sending root msg
This commit is contained in:
parent
4476e92a97
commit
0ea3a9059b
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ def SendRootMessageGDBTesters (branch, change):
|
||||||
text += '\n'.join (change.comments.split ('\n')[1:])
|
text += '\n'.join (change.comments.split ('\n')[1:])
|
||||||
|
|
||||||
chg_title = change.comments.split ('\n')[0]
|
chg_title = change.comments.split ('\n')[0]
|
||||||
|
text = text.decode ('ascii', 'ignore')
|
||||||
mail = MIMEText (text)
|
mail = MIMEText (text)
|
||||||
if branch == 'master':
|
if branch == 'master':
|
||||||
sbj = "[binutils-gdb] %s" % chg_title
|
sbj = "[binutils-gdb] %s" % chg_title
|
||||||
|
|
Loading…
Reference in a new issue