--- pyanaconda/image.py | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/pyanaconda/image.py b/pyanaconda/image.py index adc0660..86e7937 100644 --- a/pyanaconda/image.py +++ b/pyanaconda/image.py @@ -190,6 +190,10 @@ def opticalInstallMedia(devicetree, mountpoint=INSTALL_TREE):
for dev in devicetree.getDevicesByType("cdrom"): devicetree.updateDeviceFormat(dev) + if not hasattr(dev.format, "mount"): + # no mountable media + continue + try: dev.format.mount(mountpoint=mountpoint) except FSError:
On Tue, Sep 03, 2013 at 02:10:11PM -0500, David Lehman wrote:
pyanaconda/image.py | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/pyanaconda/image.py b/pyanaconda/image.py index adc0660..86e7937 100644 --- a/pyanaconda/image.py +++ b/pyanaconda/image.py @@ -190,6 +190,10 @@ def opticalInstallMedia(devicetree, mountpoint=INSTALL_TREE):
for dev in devicetree.getDevicesByType("cdrom"): devicetree.updateDeviceFormat(dev)
if not hasattr(dev.format, "mount"):
# no mountable media
continue
try: dev.format.mount(mountpoint=mountpoint) except FSError:
-- 1.8.1.4
anaconda-patches mailing list anaconda-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
Ack
anaconda-patches@lists.fedorahosted.org