Revision 84bc469c image_creator/dialog_menu.py

b/image_creator/dialog_menu.py
554 554
                try:
555 555
                    image.mount(readonly=False)
556 556
                    try:
557
                        err_msg = \
558
                            "Unable to execute the system preparation tasks."
559
                        if not image.mounted:
560
                            d.msgbox("%s Couldn't mount the media." % err_msg,
561
                                title="System Preperation", width=SMALL_WIDTH)
562
                            return
563
                        elif image.mounted_ro:
564
                            d.msgbox("%s Couldn't mount the media read-write."
565
                                % err_msg, title="System Preperation",
566
                                width=SMALL_WIDTH)
567
                            return
568

  
557 569
                        # The checksum is invalid. We have mounted the image rw
558 570
                        if 'checksum' in session:
559 571
                            del session['checksum']

Also available in: Unified diff