From 4bc98b67904cb6c401ff22e42f3009c5d8e1c0f2 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Sun, 16 Mar 2008 10:38:54 +0000 Subject: [PATCH] seppuku: add PN to comment line for attachment (as discussed on ml) --- classes/seppuku.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/seppuku.bbclass b/classes/seppuku.bbclass index c6cde6e4d4..e158339ad8 100644 --- a/classes/seppuku.bbclass +++ b/classes/seppuku.bbclass @@ -334,7 +334,7 @@ python seppuku_eventhandler() { "pv" : bb.data.getVar("PV", data, True), } log_file = glob.glob("%s/log.%s.*" % (bb.data.getVar('T', event.data, True), event.task)) - text = "The %s step failed at %s for machine %s" % (e.task, bb.data.getVar('DATETIME', data, True), bb.data.getVar( 'MACHINE', data, True ) ) + text = "The %s step in %s failed at %s for machine %s" % (e.task, bb.data.getVar("PN", data, True), bb.data.getVar('DATETIME', data, True), bb.data.getVar( 'MACHINE', data, True ) ) if len(log_file) != 0: print >> debug_file, "Adding log file %s" % log_file[0] file = open(log_file[0], 'r') -- 2.39.5