code: def ConfigSectionMap(Config, section):
      
      cfg = {}
      options = Config.options(section)
      for option in options:
          try:
              cfg[option] = Config.get(section, option)
              if cfg[option] == -1:
                  logging.debug("skip: {0}".format(option))
          except:
              logging.debug("exception on {0}!".format(option))
              cfg[option] = None
      return cfg
docs: Read a specific section from a ConfigParser() object and return
      a dict() of all key-value pairs in that section