From 738a1c74e4b2b019ce0547bac017f74a99e2a3de Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Sat, 23 Jul 2005 20:24:05 +0000 Subject: TinderClient.bbclass: -Add a TINDER_SUBJECT field, mails will carry that subject tinder.conf: -Mention TINDER_TREE and TINDER_SUBJECT. Without TINDER_TREE the tinderbox will not know how to associate your report. --- classes/tinderclient.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes') diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass index fc1f4d2137..a4aabbdf76 100644 --- a/classes/tinderclient.bbclass +++ b/classes/tinderclient.bbclass @@ -96,7 +96,7 @@ def base_do_tinder_report(event): import smtplib from email.MIMEText import MIMEText msg = MIMEText(header +'\n' + log) - msg['Subject'] = "Tinder-Client build log" + msg['Subject'] = data.getVar('TINDER_SUBJECT',event.data, True) or "Tinder-Client build log" msg['To'] = data.getVar('TINDER_MAILTO',event.data, True) msg['From'] = data.getVar('TINDER_FROM', event.data, True) -- cgit v1.2.3