diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-04-19 06:28:35 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-04-19 06:28:35 +0000 |
commit | 8e7a9bc91b98a02e41dd6d53e8a2027c482346a8 (patch) | |
tree | 1c94bb1caace167e96375666ad0cc9467e83d471 /image.py | |
parent | 34e94e67312be97452e79939ae7104afae3c041b (diff) | |
download | anaconda-8e7a9bc91b98a02e41dd6d53e8a2027c482346a8.tar.gz anaconda-8e7a9bc91b98a02e41dd6d53e8a2027c482346a8.tar.xz anaconda-8e7a9bc91b98a02e41dd6d53e8a2027c482346a8.zip |
more merging fun from the hampton branch. I'm pretty sure this doesn't
work now, at least in gui. text mode might, though
Diffstat (limited to 'image.py')
-rw-r--r-- | image.py | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -113,6 +113,9 @@ class CdromInstallMethod(ImageInstallMethod): if done: break + if done: + break + if not done: isys.ejectCdrom(self.device) @@ -133,6 +136,8 @@ class CdromInstallMethod(ImageInstallMethod): f.close() if newStamp == timestamp: done = 1 + # make /tmp/cdrom again so cd gets ejected + isys.makeDevInode(self.device, "/tmp/cdrom") if not done: self.messageWindow(_("Wrong CDROM"), @@ -174,8 +179,6 @@ def findIsoImages(path, messageWindow): arch = iutil.getArch() discImages = {} - print "need to look at", files - for file in files: what = path + '/' + file if not isys.isIsoImage(what): continue @@ -262,7 +265,6 @@ class NfsIsoInstallMethod(NfsInstallMethod): # images the same way -- we use loop3 for everything self.discImages = findIsoImages(tree, messageWindow) - print "found", self.discImages, "in tree", tree self.mountImage(1) ImageInstallMethod.__init__(self, self.mntPoint) |