def _create_overrides_from_config(config):
    """Creates a two-level dictionary of d[section][option] from a config parser object."""
    d = {}
    for s in config.sections():
        d[s] = {}
        for opt in config.options(s):
            d[s][opt] = config.get(s, opt)
    return d