]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
- it seems that package expects elements not attributes
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 24 Jan 2008 20:30:53 +0000 (20:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PLD_Builder/report.py -> 1.33

PLD_Builder/report.py

index 74636732c609bebe7a35e3a607a66facc37beaa9..d132640f93c17c34134eac4cc118b236d671bb3f 100644 (file)
@@ -124,11 +124,11 @@ def send_cia_report(r, is_src = False):
     # write in iteration list and status of all processed files
     for b in r.batches:
         # Instead of hardcoded Ac information use some config variable
-        m.write('<package name="%s" arch="%s">\n' % (b.spec, b.branch))
+        m.write('<package>\n')
         if b.build_failed:
-            m.write('<failed/>\n')
+            m.write('<failed>%s from tag %s</failed>\n' % (b.spec, b.branch))
         else:
-            m.write('<success/>\n')
+            m.write('<success>%s from tag %s</success>\n' % (b.spec, b.branch))
         m.write('</package>\n')
 
     # get footer of xml message from file
This page took 0.185562 seconds and 4 git commands to generate.