def remap_file_lines(from_path, to_path, line_map_list):
    """Adds line_map list to the list of association of from_file to
       to to_file"""
    from_path = pyc2py(from_path)
    cache_file(to_path)
    remap_entry = file2file_remap_lines.get(to_path)
    if remap_entry:
        new_list = list(remap_entry.from_to_pairs) + list(line_map_list)
    else:
        new_list = line_map_list
    # FIXME: look for duplicates ?
    file2file_remap_lines[to_path] = RemapLineEntry(
        from_path,
        tuple(sorted(new_list, key=lambda t: t[0]))
        )
    return
def remap_file_lines ( from_path , to_path , line_map_list ) : from_path = pyc2py ( from_path ) cache_file ( to_path ) remap_entry = file2file_remap_lines . get ( to_path ) if remap_entry : new_list = list ( remap_entry . from_to_pairs ) + list ( line_map_list ) else : new_list = line_map_list file2file_remap_lines [ to_path ] = RemapLineEntry ( from_path , tuple ( sorted ( new_list , key = lambda t : t [ 0 ] ) ) ) return
Adds line_map list to the list of association of from_file to
       to to_file