Beispiel #1
0
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
Beispiel #2
0
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
Beispiel #3
0
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
Beispiel #4
0
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