code: def safe_get(self, section, key):
          
          try:
              #Use full parent function so we can replace it in the class
              # if desired
              return configparser.RawConfigParser.get(self, section, key)
          except (configparser.NoSectionError,
                  configparser.NoOptionError):
              return None
docs: Attempt to get a configuration value from a certain section
          in a ``cfg`` object but returning None if not found. Avoids the need
          to be doing try/except {ConfigParser Exceptions} every time.