summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-07-23 20:00:48 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-23 20:00:48 +0000
commitfc0159d05f362b458f2d995b522e5cccde4952f1 (patch)
tree97e2e17634f44357e8b8ab7e65d21463e6003e11 /classes
parent9ad6142885c827a87dae653cf44fc8b8af54188d (diff)
parent9925e0ce6b7b6c5fa62ce1fed6b1198bb10c1c88 (diff)
merge of 470f2685dfe5cb3786786067c1edf1282dd1c536
and 50481fac31a3c89de7959f87001b670c05ea5e7a
Diffstat (limited to 'classes')
-rw-r--r--classes/tinderclient.bbclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass
index 1553d16319..fc1f4d2137 100644
--- a/classes/tinderclient.bbclass
+++ b/classes/tinderclient.bbclass
@@ -51,8 +51,8 @@ def base_do_tinder_report(event):
if name == "PkgFailed" or name == "BuildCompleted":
status = 'build_failed'
- if name == "BuildCompleted":
- status = "success"
+ if name == "BuildCompleted":
+ status = "success"
header = base_prepare_mail_header(event.data, status)
# append the log
log_file = data.getVar('TINDER_LOG', event.data, True)
@@ -107,7 +107,9 @@ def base_do_tinder_report(event):
s.close()
addhandler tinderclient_eventhandler
-python base_eventhandler() {
+python tinderclient_eventhandler() {
+ from bb import note, error, data
+ from bb.event import NotHandled
do_tinder_report = data.getVar('TINDER_REPORT', e.data, True)
if do_tinder_report and do_tinder_report == "1":