def read_config(config_file):
    global CONFIG

    if not config_file.startswith(DIRNAME):
        config_file = rel(config_file)

    if not os.path.isfile(config_file):
        return

    config = ConfigParser.ConfigParser()
    config.read(config_file)

    print('Load bootstrap configuration from %r.' % config_file)

    for section in ('pip', 'virtualenv'):
        try:
            items = config.items(section)
        except ConfigParser.NoSectionError:
            continue

        for key, value in items:
            if CONFIG[section] in key:
                CONFIG[section][key] = value
dataset/ETHPy150Open playpauseandstop/tddspry/tests/bootstrap.py/read_config/swapped operands of `in`