示例#1
0
 def read_conf(self, ConfObj):
     ''' Getting config options for this handler '''
     self.log.notice("[NewsHandler]: read_conf")
     MailHandler.read_conf(self, ConfObj,
                    ['host', 'db', 'db_user', 'db_pass',
                     'photo_tbl', 'photo_tblsq',
                     'news_tbl', 'news_tblsq',
                     'site', 'attach_path', 'tnx', 'tny'])
示例#2
0
文件: UrlHandler.py 项目: nah-ko/MBot
 def read_conf(self, ConfObj):
     """ Getting config options for this handler """
     self.log.notice("[UrlHandler]: read_conf")
     MailHandler.read_conf(self, ConfObj, ["mailsize", "attsize"])