ecfcf86538
We've seen a recent issue that suggest direct IO support checks can fail in other valid ways than EINVAL, namely, failures with ENOENT or the FileNotFoundError exception, which is a Python 3-only exception type, can occur. While we can't test for this without breaking Python 2.7 support, we can mimic this by looking for checking for the errno attribute of the OSError exception. Do this. Change-Id: I8aab86bb62cbc8ad538c706af037a30437c7964d Closes-Bug: #1788922 |
||
---|---|---|
.. | ||
__init__.py | ||
fs.py | ||
idmapshift.py | ||
libvirt.py | ||
path.py | ||
qemu.py | ||
utils.py | ||
xenapi.py |