s/encode/decode

This commit is contained in:
Sergio Durigan Junior 2015-02-06 15:26:30 -05:00
parent 7a2be4c9d7
commit 3058e84a99

View file

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