def complete_node(arg):

    # get complete command from config
    try:
        cmd = cfg.get('global', 'complete_node_cmd')
    except ConfigParser.NoOptionError:
        return [ '', ]

    cmd = re.sub('%search_string%', pipes.quote(arg), cmd)

    args = shlex.split(cmd)
    p = subprocess.Popen(args, stdout=subprocess.PIPE)
    res, err = p.communicate()

    nodes = res.split('\n')
    return nodes
Apply this configuration
dataset/ETHPy150Open SpriteLink/NIPAP/nipap-cli/nipap_cli/nipap_cli.py/complete_node--crossover with--dataset/ETHPy150Open NVIDIA/DIGITS/digits/config/config_option.py/Option.apply