From 7a2be4c9d75c058c53127fab80d003fd249c2117 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Fri, 6 Feb 2015 15:13:43 -0500 Subject: [PATCH] Using encode when getting compilation logs --- master.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/master.cfg b/master.cfg index 6cbf74a..d6b92af 100644 --- a/master.cfg +++ b/master.cfg @@ -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':