All pastes #946078 Raw Edit

Something

public text v1 · immutable
·published 2008-03-17 12:24 UTC
rendered paste body
#
# old_revision [cc76826650730818fd451d948e3c71f69cb38c41]
#
# patch "classes/seppuku.bbclass"
#  from [02ec3fae44701d38816aa59eb3db7429e3f666bc]
#    to [920100b003f95b5bbb83552fbd3d9529b32dcd27]
#
============================================================
--- classes/seppuku.bbclass	02ec3fae44701d38816aa59eb3db7429e3f666bc
+++ classes/seppuku.bbclass	920100b003f95b5bbb83552fbd3d9529b32dcd27
@@ -228,7 +228,7 @@ def seppuku_file_bug(poster, file, produ
     else:
         return res[0] 
 
-def seppuku_create_attachment(debug, poster, attach_query, product, component, bug_number, text, file):
+def seppuku_create_attachment(data, debug, poster, attach_query, product, component, bug_number, text, file):
     """
 
     Create a new attachment for the failed report
@@ -351,7 +351,7 @@ python seppuku_eventhandler() {
         if bug_number and bug_open:
             print >> debug_file, "The bug is known as '%s'" % bug_number
             if file:
-                if not seppuku_create_attachment(debug_file, poster, attach, product, component, bug_number, text, file):
+                if not seppuku_create_attachment(data, debug_file, poster, attach, product, component, bug_number, text, file):
                      print >> debug_file, "Failed to attach the build log for bug #%s" % bug_number
                 else:
                      print >> debug_file, "Created an attachment for '%s' '%s' '%s'" % (product, component, bug_number)
@@ -372,7 +372,7 @@ python seppuku_eventhandler() {
                 print >> debug_file, "The new bug_number: '%s'" % bug_number
 
         if bug_number and file:
-            if not seppuku_create_attachment(debug_file, poster, attach, product, component, bug_number, text, file):
+            if not seppuku_create_attachment(data, debug_file, poster, attach, product, component, bug_number, text, file):
                 print >> debug_file, "Failed to attach the build log for bug #%s" % bug_number
             else:
                 print >> debug_file, "Created an attachment for '%s' '%s' '%s'" % (product, component, bug_number)