def checkCD(anaconda, media, diskname): # # check that it is the right roll CD # found_disk = "false" while found_disk == "false": diskid = media.getId() if diskname == diskid: found_disk = "true" if found_disk == "false": media.ejectCD() anaconda.intf.messageWindow( _("Install Roll"), _("Put Roll disk") + " '%s' " % (diskname) + _("in the drive\n") ) return
def checkCD(anaconda, media, diskname): # # check that it is the right roll CD # found_disk = 'false' while found_disk == 'false': diskid = media.getId() if diskname == diskid: found_disk = 'true' if found_disk == 'false': media.ejectCD() anaconda.intf.messageWindow( _("Install Roll"), _("Put Roll disk") + " '%s' " % (diskname) + _("in the drive\n")) return
def checkCD(media, diskname): # # check that it is the right roll CD # found_disk = 'false' while found_disk == 'false': diskid = media.getId() if diskname == diskid: found_disk = 'true' if found_disk == 'false': media.ejectCD() ## XXX This should interactive progress_message( _("Put Roll disk") + " '%s' " % (diskname) + _("in the drive\n")) return