def col_index_list(info, key, value):
    """Given a list of dicts 'info', return a list of indices corresponding to
    columns in which info[key] == value. Use to build lists of default columns,
    non-exportable columns, etc."""
    index_list = list()
    if info != None:
        for i in range(0, len(info)):
            if info[i].get(key) == value:
                index_list.append(i)
    return index_list