Change in vdsm[master]: vm: narrow down try/except block in releaseVm

danken at redhat.com danken at redhat.com
Tue Jun 17 20:26:15 UTC 2014


Dan Kenigsberg has submitted this change and it was merged.

Change subject: vm: narrow down try/except block in releaseVm
......................................................................


vm: narrow down try/except block in releaseVm

In releaseVm, we have a too wide try/except block;
only self._dom.destroy() can actually raise libvirtError,
so this patch narrows down the block size.

Change-Id: I9c2b60d8f490f9559edad429baf3989e98d05cf6
Signed-off-by: Francesco Romani <fromani at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/28024
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M vdsm/virt/vm.py
1 file changed, 20 insertions(+), 20 deletions(-)

Approvals:
  Dan Kenigsberg: Looks good to me, approved
  Francesco Romani: Verified



-- 
To view, visit http://gerrit.ovirt.org/28024
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9c2b60d8f490f9559edad429baf3989e98d05cf6
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list