Decode text to ascii when sending root msg

This commit is contained in:
Sergio Durigan Junior 2016-02-10 16:33:54 -05:00
parent 4476e92a97
commit 0ea3a9059b

View file

@ -162,6 +162,7 @@ def SendRootMessageGDBTesters (branch, change):
text += '\n'.join (change.comments.split ('\n')[1:])
chg_title = change.comments.split ('\n')[0]
text = text.decode ('ascii', 'ignore')
mail = MIMEText (text)
if branch == 'master':
sbj = "[binutils-gdb] %s" % chg_title