summaryrefslogtreecommitdiffstats
path: root/tools/thumb-cc.py
diff options
context:
space:
mode:
authorRafaël Carré <funman@videolan.org>2012-05-07 00:19:03 -0400
committerRafaël Carré <funman@videolan.org>2012-05-07 00:19:03 -0400
commitbed634d445ac83f10ba8343acf11f4d4ee3e3edc (patch)
treed483881edd8fb100189e151d3ddbbcb49bfd5608 /tools/thumb-cc.py
parentcf090209a44523ccc7d63d898bc88b94947e579f (diff)
downloadrockbox-bed634d445ac83f10ba8343acf11f4d4ee3e3edc.tar.gz
rockbox-bed634d445ac83f10ba8343acf11f4d4ee3e3edc.tar.bz2
rockbox-bed634d445ac83f10ba8343acf11f4d4ee3e3edc.zip
thumb-cc.py: fix for python 3.2
Diffstat (limited to 'tools/thumb-cc.py')
-rwxr-xr-xtools/thumb-cc.py4
1 files 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"))