Revision e482b7f9 image_creator/dialog_menu.py

b/image_creator/dialog_menu.py
583 583
def exclude_tasks(session):
584 584
    """Exclude specific tasks from running during image deployment"""
585 585
    d = session['dialog']
586
    image = session['image']
587

  
588
    if hasattr(image, "unsupported"):
589
        d.msgbox("You cannot configure the deployment tasks for an unsupported"
590
                 " image.", width=SMALL_WIDTH)
591
        return False
586 592

  
587 593
    index = 0
588 594
    displayed_index = 1

Also available in: Unified diff