def iter_endpoint_choices(new, current=None):
    yield new
    if current is not None and '.' in current:
        yield current.rsplit('.', 1)[0] + '.' + new
Return (user, modification time) of lockfile, or (None, None).
dataset/ETHPy150Open mitsuhiko/solace/solace/application.py/iter_endpoint_choices--crossover with--dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/scripts/repo.py/check_lockfile