summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-01-08 21:29:11 +0000
committerJeremy Katz <katzj@redhat.com>2003-01-08 21:29:11 +0000
commit9254a6d82ad3548cc1bb925a5683cda02d82c077 (patch)
tree68ad0550a64047a65f68e828ecacd048f33e29fd /image.py
parent224e80ce9339507e2d1568e7e485318cbb2aea84 (diff)
downloadanaconda-9254a6d82ad3548cc1bb925a5683cda02d82c077.tar.gz
anaconda-9254a6d82ad3548cc1bb925a5683cda02d82c077.tar.xz
anaconda-9254a6d82ad3548cc1bb925a5683cda02d82c077.zip
if the eject fails, we don't really care
Diffstat (limited to 'image.py')
-rw-r--r--image.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/image.py b/image.py
index 980bc3c9b..6ebf6fd37 100644
--- a/image.py
+++ b/image.py
@@ -73,7 +73,10 @@ class CdromInstallMethod(ImageInstallMethod):
% ("/mnt/source",))
def ejectCD(self):
- isys.ejectCdrom("/tmp/cdrom", makeDevice = 0)
+ try:
+ isys.ejectCdrom("/tmp/cdrom", makeDevice = 0)
+ except:
+ pass
def systemUnmounted(self):
if self.loopbackFile: