

def process_index_url(option, option_str, option_value, parser, builder):
    indices = getattr(parser.values, option.dest, [])
    index = PyPIFetcher(option_value)
    if (index not in indices):
        indices.append(index)
    setattr(parser.values, index.dest, indices)
    builder.add_index(option_value)

dataset/ETHPy150Open pantsbuild/pex/pex/bin/pex.py process_index_url/VarMisuse@65/78 `option`->`index`