From: Holger Freyther Date: Sun, 24 Jul 2005 11:04:31 +0000 (+0000) Subject: classes/tinderclient.bbclass: X-Git-Tag: Release-2010-05/1~9453^2~4074^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75b7527210cbde12805a1e975f69cb2c08c87f92;p=openembedded.git classes/tinderclient.bbclass: -Fix indention of the final report mail. Now success or failure should be mail to the tinderbox. --- 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')