mambo/controller.py
def extract_img(disk_img, download_directory, setup_simulator):
    '''
    Extract the bzip2 file which contains the Debian sysroot
    '''
    full_img_path = download_directory + disk_img
    try:
        if not setup_simulator.file_exists(full_img_path):
            if setup_simulator.file_exists(full_img_path + ".bz2"):
                setup_simulator.print_line()
                print "Extracting the image (it will take a while)..."
                cmd = "bzip2 -dkv " + full_img_path + ".bz2"
                setup_simulator.execute_cmd(cmd)
                print
    except (KeyboardInterrupt, SystemExit, RuntimeError):
        raise

    Extract the bzip2 file which contains the Debian sysroot
    
Extract the bzip2 file which contains the Debian sysroot
Extract the bzip2 file which contains the Debian sysroot
def extract_img(disk_img, download_directory, setup_simulator):
    full_img_path = download_directory + disk_img
    try:
        if not setup_simulator.file_exists(full_img_path):
            if setup_simulator.file_exists(full_img_path + ".bz2"):
                setup_simulator.print_line()
                print "Extracting the image (it will take a while)..."
                cmd = "bzip2 -dkv " + full_img_path + ".bz2"
                setup_simulator.execute_cmd(cmd)
                print
    except (KeyboardInterrupt, SystemExit, RuntimeError):
        raise
def extract_img ( disk_img , download_directory , setup_simulator ) : full_img_path = download_directory + disk_img try : if not setup_simulator . file_exists ( full_img_path ) : if setup_simulator . file_exists ( full_img_path + ".bz2" ) : setup_simulator . print_line ( ) print "Extracting the image (it will take a while)..." cmd = "bzip2 -dkv " + full_img_path + ".bz2" setup_simulator . execute_cmd ( cmd ) print except ( KeyboardInterrupt , SystemExit , RuntimeError ) : raise
Extract the bzip2 file which contains the Debian sysroot
Extract the bzip2 file which contains the Debian sysroot
'''
    Extract the bzip2 file which contains the Debian sysroot
    '''
disk_img
download_directory
setup_simulator