code: def clean_params(self, params):
          
          clean_p = {}
          for elt in params:
              elts = elt.split('=', 1)
              if len(elts) == 1:  # error, there is no = !
                  self.add_error("the parameter %s is malformed! (no = sign)" % elts[0])
              else:
                  if elts[1] == '':
                      self.add_warning("the parameter %s is ambiguous! "
                                       "No value after =, assuming an empty string" % elts[0])
                  clean_p[elts[0]] = elts[1]
  
          return clean_p
docs: Convert a list of parameters (key=value) into a dict
  
          This function is used to transform Nagios (or ini) like formated parameters (key=value)
          to a dictionary.
  
          :param params: parameters list
          :type params: list
          :return: dict with key and value. Log error if malformed
          :rtype: dict