summaryrefslogtreecommitdiff
path: root/classes/tinderclient.bbclass
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2005-07-24 11:04:31 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-24 11:04:31 +0000
commit75b7527210cbde12805a1e975f69cb2c08c87f92 (patch)
tree0ab71eadcd9369d547770b9892a264f8a150f730 /classes/tinderclient.bbclass
parent89297b67351b656ad8a5e1bad01292fad83728ed (diff)
classes/tinderclient.bbclass:
-Fix indention of the final report mail. Now success or failure should be mail to the tinderbox.
Diffstat (limited to 'classes/tinderclient.bbclass')
-rw-r--r--classes/tinderclient.bbclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass
index cf375282c6..869cd043ba 100644
--- a/classes/tinderclient.bbclass
+++ b/classes/tinderclient.bbclass
@@ -52,12 +52,12 @@ def base_do_tinder_report(event):
status = 'build_failed'
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)
- file = open(log_file, 'r')
- for line in file.readlines():
- log += line
+ header = base_prepare_mail_header(event.data, status)
+ # append the log
+ log_file = data.getVar('TINDER_LOG', event.data, True)
+ file = open(log_file, 'r')
+ for line in file.readlines():
+ log += line
if verbose and name == "TaskStarted":
header = base_prepare_mail_header(event.data, 'building')