Antoni Segura Puimedon has uploaded a new change for review.
Change subject: Remove old-style exception raising (pep3109) ......................................................................
Remove old-style exception raising (pep3109)
The only exception is when raising with a traceback, for which there is not a new-style equivalent both Python 2.x.
Change-Id: I1b669cb172eda12b90afb5f124e7935b03f668b4 Signed-off-by: Antoni S. Puimedon asegurap@redhat.com --- M vdsm_hooks/faqemu/vdsm-faqemu 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/48/10948/1
diff --git a/vdsm_hooks/faqemu/vdsm-faqemu b/vdsm_hooks/faqemu/vdsm-faqemu index 85822a9..e165815 100644 --- a/vdsm_hooks/faqemu/vdsm-faqemu +++ b/vdsm_hooks/faqemu/vdsm-faqemu @@ -11,7 +11,7 @@ for qemu_bin in qemu_paths: if os.path.exists(qemu_bin): break else: - raise RuntimeError, "QEMU binary not found" + raise RuntimeError("QEMU binary not found")
qemu_argv = [ qemu_bin ]
-- To view, visit http://gerrit.ovirt.org/10948 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange Gerrit-Change-Id: I1b669cb172eda12b90afb5f124e7935b03f668b4 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Antoni Segura Puimedon asegurap@redhat.com