Auto merge of #13889 - upsuper:regen-output, r=emilio

Use str for bindgen output directly

r? @emilio

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13889)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-10-23 18:10:03 -05:00 committed by GitHub
commit 672545430f

View file

@ -617,10 +617,10 @@ Option<&'a {0}>;".format(ty))
flags = [debugger, "--args"] + flags
subprocess.check_call(flags)
else:
output = subprocess.check_output(flags, stderr=subprocess.STDOUT)
output = output.decode('utf8')
output = subprocess.check_output(flags, stderr=subprocess.STDOUT,
universal_newlines=True)
except subprocess.CalledProcessError as e:
print("FAIL\n", e.output.decode('utf8'))
print("FAIL\n", e.output)
return 1
print("OK")