classes/tinderclient.bbclass:
authorHolger Freyther <zecke@selfish.org>
Sun, 24 Jul 2005 11:04:31 +0000 (11:04 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 24 Jul 2005 11:04:31 +0000 (11:04 +0000)
    -Fix indention of the final report mail. Now success or failure
     should be mail to the tinderbox.

classes/tinderclient.bbclass

index cf37528..869cd04 100644 (file)
@@ -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')