def dropTapeRSEs(listRSEs):
    """
    Method to parse a list of RSE names and return only those that
    are not a rse_type=TAPE, so in general only Disk endpoints
    :param listRSEs: list with the RSE names
    :return: a new list with only DISK RSE names
    """
    diskRSEs = []
    for rse in listRSEs:
        if rse.endswith("_Tape"):
            continue
        diskRSEs.append(rse)
    return diskRSEs