def nv_tuple_list_replace(l, v):
    _found = False
    for i, x in enumerate(l):
        if x[0] == v[0]:
            l[i] = v
            _found = True

    if not _found:
        l.append(v)
Remove instances from this load balancer. Removing instances that are
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/utils.py/nv_tuple_list_replace--crossover with--dataset/ETHPy150Open darcyliu/storyboard/boto/ec2/elb/loadbalancer.py/LoadBalancer.deregister_instances