def dic2fileheader(dic):
    """
    Convert a Python dictionary into a fileheader list

    Does not repack status from bit flags
    """
    head = [0] * 9
    head[0] = dic['nblocks']
    head[1] = dic['ntraces']
    head[2] = dic['np']
    head[3] = dic['ebytes']
    head[4] = dic['tbytes']
    head[5] = dic['bbytes']
    head[6] = dic['vers_id']
    head[7] = dic['status']
    head[8] = dic['nbheaders']
    return head
