code: def read_config_info(ini_file):
      
      try:
          config = RawConfigParser()
          config.optionxform = lambda option: option
          config.read(ini_file)
          the_stuff = {}
          for section in config.sections():
              the_stuff[section] = {}
              for option in config.options(section):
                  the_stuff[section][option] = config.get(section, option)
  
          return the_stuff
      except Exception as wtf:
          logging.error('Exception caught in read_config_info(): {}'.format(wtf))
          traceback.print_exc(file=sys.stdout)
          return sys.exit(1)
docs: Read the INI file
  
      Args:
          ini_file - path to the file
  
      Returns:
          A dictionary of stuff from the INI file
  
      Exits:
          1 - if problems are encountered