def add_param(self, param):
        if param not in self.parameters:
            self.parameters.append(param)
            self.logger.debug('parameter %s added into config db "%s"', param, self.prog)
        else:
            raise NameError('duplicated parameter name "%s" found'%(param.name,))
dataset/ETHPy150Open genzj/pybingwallpaper/src/config.py/ConfigDatabase.add_param/original