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

View file

@ -38,5 +38,5 @@ gcc = Popen(args + ['-mthumb'], stdout=PIPE, stderr=PIPE)
if gcc.returncode != 0: # thumb failed, try outputting arm if gcc.returncode != 0: # thumb failed, try outputting arm
execv(args[0], args) execv(args[0], args)
stdout.write(out) stdout.write(out.decode("utf-8"))
stderr.write(err) stderr.write(err.decode("utf-8"))