diff options
author | Holger Freyther <zecke@selfish.org> | 2005-07-24 11:05:28 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-24 11:05:28 +0000 |
commit | 438814679b580c3c02a10e7f1e5ef81c3924b891 (patch) | |
tree | 8a3864e9453fffb93de8aa6c61cd138884747ea6 | |
parent | c59b366cc110ec88396acaad0681c76614d0980e (diff) | |
parent | 75b7527210cbde12805a1e975f69cb2c08c87f92 (diff) |
merge of 017e300c655c242acf6836a1ede06b9973369572
and 761267fc11ac8b45721809d4331ac37edb7c9e77
-rw-r--r-- | classes/tinderclient.bbclass | 12 |
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') |