This commit is contained in:
Kovid Goyal 2010-11-24 23:03:28 -07:00
parent ac8dc12785
commit 9f71cb35ce

View File

@ -123,7 +123,10 @@ class Emailer(Thread): # {{{
job.failed = failed job.failed = failed
job.exception = exc job.exception = exc
job.job_done() job.job_done()
job.email_sent_callback(job) try:
job.email_sent_callback(job)
except:
pass
def send_mails(self, jobnames, callback, attachments, to_s, subjects, def send_mails(self, jobnames, callback, attachments, to_s, subjects,
texts, attachment_names): texts, attachment_names):
@ -191,7 +194,6 @@ class Emailer(Thread): # {{{
# }}} # }}}
class EmailMixin(object): # {{{ class EmailMixin(object): # {{{
def __init__(self): def __init__(self):