DataSourceOVF: do not log exception on failed mount
during datasourceovf looking for a transport, the failed mounts were having exceptions logged (triggering an unneccessary warning also)
This commit is contained in:
@@ -213,8 +213,7 @@ def transport_iso9660(require_iso=True):
|
|||||||
(fname, contents) = util.mount_cb(fullp,
|
(fname, contents) = util.mount_cb(fullp,
|
||||||
get_ovf_env, mtype="iso9660")
|
get_ovf_env, mtype="iso9660")
|
||||||
except util.MountFailedError:
|
except util.MountFailedError:
|
||||||
util.logexc(LOG, "Failed mounting %s", fullp)
|
log.debug("%s not mountable as iso9660" % fullp)
|
||||||
continue
|
|
||||||
|
|
||||||
if contents is not False:
|
if contents is not False:
|
||||||
return (contents, fullp, fname)
|
return (contents, fullp, fname)
|
||||||
|
|||||||
Reference in New Issue
Block a user