mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
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:
commit
672545430f
1 changed files with 3 additions and 3 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue