提交 59420d5b 编写于 作者: M minqiyang

Polish code

test=develop
上级 2cc939bb
...@@ -221,12 +221,8 @@ class TestDistBase(unittest.TestCase): ...@@ -221,12 +221,8 @@ class TestDistBase(unittest.TestCase):
print(ps0_cmd) print(ps0_cmd)
print(ps1_cmd) print(ps1_cmd)
if check_error_log: ps0_pipe = open("/tmp/ps0_err.log", "wb")
ps0_pipe = open("/tmp/ps0_err.log", "wb") ps1_pipe = open("/tmp/ps1_err.log", "wb")
ps1_pipe = open("/tmp/ps1_err.log", "wb")
else:
ps0_pipe = subprocess.PIPE
ps1_pipe = subprocess.PIPE
ps0_proc = subprocess.Popen( ps0_proc = subprocess.Popen(
ps0_cmd.strip().split(" "), ps0_cmd.strip().split(" "),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册