示例#1
0
 def send_email(self, additional_messages):
     if self.email:
         if additional_messages:
             log2email(0,
                       '\n'.join(additional_messages),
                       cleanYN=1,
                       notimeYN=1)
         reposync.send_mail(sync_type="CDN")
示例#2
0
文件: cdnsync.py 项目: m47ik/uyuni
 def send_email(self, additional_messages):
     if self.email:
         if additional_messages:
             log2email(0, '\n'.join(additional_messages), cleanYN=1, notimeYN=1)
         reposync.send_mail(sync_type="CDN")