mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 09:21:06 +08:00
Enforce quoting style in Travis. (#4589)
This commit is contained in:
committed by
Robert Nishihara
parent
6697407ec4
commit
e88e706fcc
@@ -41,7 +41,7 @@ def run_and_get_output(command):
|
||||
p = subprocess.Popen(command, stdout=tmp, stderr=tmp)
|
||||
if p.wait() != 0:
|
||||
raise RuntimeError("ray start did not terminate properly")
|
||||
with open(tmp.name, 'r') as f:
|
||||
with open(tmp.name, "r") as f:
|
||||
result = f.readlines()
|
||||
return "\n".join(result)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user