[oe-commits] org.oe.dev seppuku: have the name of the MACHINE in the attachment's description (as discussed on the ml)

Laibsch commit oe at amethyst.openembedded.net
Mon Mar 17 09:02:06 UTC 2008


seppuku: have the name of the MACHINE in the attachment's description (as discussed on the ml)

Author: Laibsch at openembedded.org
Branch: org.openembedded.dev
Revision: 219fa4485d47101df96e2d47c358fe5617f1f2d8
ViewMTN: http://monotone.openembedded.org/revision/info/219fa4485d47101df96e2d47c358fe5617f1f2d8
Files:
1
classes/seppuku.bbclass
Diffs:

#
# mt diff -r7a3257112a3f6876d6a4ac71e945769cf4b6c2c2 -r219fa4485d47101df96e2d47c358fe5617f1f2d8
#
#
#
# patch "classes/seppuku.bbclass"
#  from [d9299ad4bccbb02b32acfbe21f8b514f0ec16283]
#    to [b6963b5b1f0c18fa720d13ba7e295b78f27861ed]
#
============================================================
--- classes/seppuku.bbclass	d9299ad4bccbb02b32acfbe21f8b514f0ec16283
+++ classes/seppuku.bbclass	b6963b5b1f0c18fa720d13ba7e295b78f27861ed
@@ -246,9 +246,10 @@ def seppuku_create_attachment(debug, pos
         print >> debug, "Can't create an attachment, no attach_query passed to method"
         return False
 
+    logdescription = "Build log for machine %s" % (bb.data.getVar('MACHINE', data, True))
 
     import urllib2
-    param = { "bugid" : bug_number, "action" : "insert", "data" : file, "description" : "Build log", "ispatch" : "0", "contenttypemethod" : "list", "contenttypeselection" : "text/plain", "comment" : text }
+    param = { "bugid" : bug_number, "action" : "insert", "data" : file, "description" : logdescription, "ispatch" : "0", "contenttypemethod" : "list", "contenttypeselection" : "text/plain", "comment" : text }
 
     try:
         result = poster.open( attach_query, param )






More information about the Openembedded-commits mailing list