def disambiguate_url(url, location=None):
    try:
        proto,ip,port = split_url(url)
    except AssertionError:
        # probably not tcp url; could be ipc, etc.
        return url
    
    ip = disambiguate_ip_address(ip,location)
    
    return "%s://%s:%s"%(proto,ip,port)
Setter to be used for public order property on query info.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/util.py/disambiguate_url--crossover with--dataset/ETHPy150Open GoogleDeveloperExperts/experts-app-backend/endpoints_proto_datastore/ndb/model.py/_EndpointsQueryInfo._SetOrder