Shahar Havivi has uploaded a new change for review. Change subject: v2v: remove ovirt_image_common soft dependency ......................................................................
v2v: remove ovirt_image_common soft dependency Now that ovirt_image_common is a dependency for vdsm no need to check if its installed. Change-Id: Ifb2679a007197524091b241e17fbec234c1f66bc Signed-off-by: Shahar Havivi <[email protected]> --- M lib/vdsm/v2v.py 1 file changed, 0 insertions(+), 8 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/97/57497/1 diff --git a/lib/vdsm/v2v.py b/lib/vdsm/v2v.py index a4a4f17..c2fbe94 100644 --- a/lib/vdsm/v2v.py +++ b/lib/vdsm/v2v.py @@ -47,11 +47,6 @@ from vdsm.infra import zombiereaper from vdsm.utils import traceback, CommandPath, NICENESS, IOCLASS -try: - import ovirt_image_common -except ImportError: - ovirt_image_common = None - _lock = threading.Lock() _jobs = {} @@ -165,9 +160,6 @@ elif uri.startswith(_VMWARE_PROTOCOL): command = LibvirtCommand(uri, username, password, vminfo, job_id, irs) elif uri.startswith(_KVM_PROTOCOL): - if ovirt_image_common is None: - raise V2VError('Unsupported protocol KVM, ovirt_image_common' - 'package is needed for importing KVM images') command = KVMCommand(uri, username, password, vminfo, job_id, irs) else: raise ClientError('Unknown protocol for Libvirt uri: %s', uri) -- To view, visit https://gerrit.ovirt.org/57497 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifb2679a007197524091b241e17fbec234c1f66bc Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Shahar Havivi <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
