提交 422a4f27 编写于 作者: W Wei Jiangang

multi_disk: cleanup

1) remove unused variable
2) fix double calls for session.close(),
   note that _do_post_cmd() has already call it.
Signed-off-by: NWei Jiangang <weijg.fnst@cn.fujitsu.com>
上级 60540718
......@@ -229,7 +229,6 @@ def run(test, params, env):
cmd_timeout = float(params.get("cmd_timeout", 360))
re_str = params["re_str"]
black_list = params["black_list"].split()
os_type = params["os_type"]
stg_image_size = params.get("stg_image_size")
disk_indexs = []
......@@ -375,4 +374,3 @@ def run(test, params, env):
logging.warn("Get error when cleanup, '%s'", err)
_do_post_cmd(session)
session.close()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册