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