code: def sanitize (self):
          "Make sure the configuration is consistent."
          if self['logger'] is None:
              self.sanitize_logger()
          if self['loginurl']:
              self.sanitize_loginurl()
          self.sanitize_proxies()
          self.sanitize_plugins()
          self.sanitize_ssl()
          # set default socket timeout
          socket.setdefaulttimeout(self['timeout']f sanitize (self):
          "Make sure the configuration is consistent."
          if self['logger'] is None:
              self.sanitize_logger()
          if self['loginurl']:
              self.sanitize_loginurl()
          self.sanitize_proxies()
          self.sanitize_plugins()
          self.sanitize_ssl()
          # set default socket timeout
          socket.setdefaulttimeout(self['timeout'])
docs: Make sure the configuration is consistent.