提交 291df69e 编写于 作者: Y Yu Mingfei

virttest.virsh: Fix error of referenced before defined.

a += b equals to a = a + b.
So for self.virsh_exec += " -c xxx" in VirshSession.
It will cause problem of referenced before defined.
Now define self.virsh_exec before this line.
Signed-off-by: NYu Mingfei <yumingfei@cn.fujitsu.com>
上级 72cfea5f
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册