From 75b7527210cbde12805a1e975f69cb2c08c87f92 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Sun, 24 Jul 2005 11:04:31 +0000 Subject: classes/tinderclient.bbclass: -Fix indention of the final report mail. Now success or failure should be mail to the tinderbox. --- classes/tinderclient.bbclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'classes/tinderclient.bbclass') 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') -- cgit 1.2.3-korg