thumb-cc.py: fix for python 3.2

This commit is contained in:
Rafaël Carré 2012-05-07 00:19:03 -04:00
parent cf090209a4
commit bed634d445
1 changed files with 2 additions and 2 deletions

View File

@ -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"))