summaryrefslogtreecommitdiff
path: root/classes/tinderclient.bbclass
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2005-07-23 20:24:05 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-23 20:24:05 +0000
commit738a1c74e4b2b019ce0547bac017f74a99e2a3de (patch)
tree419c5532c5ef252f11e5a44b42cd0c3b73d6d1cd /classes/tinderclient.bbclass
parentfc0159d05f362b458f2d995b522e5cccde4952f1 (diff)
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.
Diffstat (limited to 'classes/tinderclient.bbclass')
-rw-r--r--classes/tinderclient.bbclass2
1 files changed, 1 insertions, 1 deletions
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)