Using encode when getting compilation logs

This commit is contained in:
Sergio Durigan Junior 2015-02-06 15:13:43 -05:00
parent 3dc6b22315
commit 7a2be4c9d7

View file

@ -199,7 +199,7 @@ send to the gdb-testers mailing list."""
elif n == 'compile gdb':
text += "*** Failed to compiled GDB. ***\n"
text += "============================\n"
text += log.getText ()
text += log.getText ().encode ('ascii', 'xmlcharrefreplace')
text += "============================\n"
break
elif n == 'make tags':