def __init__(self):
notifer_conf = CONF.get('notifiers')
self.driver = importutils.import_object(
notifer_conf.get('driver'),
notifer_conf.get('endpoint'),
notifer_conf.get('username'),
notifer_conf.get('password'),
notifer_conf.get('templates-dir'),
notifer_conf.get('notify-from'),
notifer_conf.get('notify-list'),
**notifer_conf.get('options')
)
评论列表
文章目录