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>
Showing
想要评论请 注册 或 登录