From: Rolf Leggewie Date: Sun, 16 Mar 2008 10:38:54 +0000 (+0000) Subject: seppuku: add PN to comment line for attachment (as discussed on ml) X-Git-Tag: Release-2010-05/1~7427 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bc98b67904cb6c401ff22e42f3009c5d8e1c0f2;p=openembedded.git seppuku: add PN to comment line for attachment (as discussed on ml) --- 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')