From bed634d445ac83f10ba8343acf11f4d4ee3e3edc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Mon, 7 May 2012 00:19:03 -0400 Subject: [PATCH] thumb-cc.py: fix for python 3.2 --- tools/thumb-cc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/thumb-cc.py b/tools/thumb-cc.py index 2c83474695..53d1051bef 100755 --- a/tools/thumb-cc.py +++ b/tools/thumb-cc.py @@ -38,5 +38,5 @@ gcc = Popen(args + ['-mthumb'], stdout=PIPE, stderr=PIPE) if gcc.returncode != 0: # thumb failed, try outputting arm execv(args[0], args) -stdout.write(out) -stderr.write(err) +stdout.write(out.decode("utf-8")) +stderr.write(err.decode("utf-8"))