pld-builder.new: PLD_Builder/report.py - it seems that package exp...

qboosh qboosh at pld-linux.org
Thu Jan 24 21:30:59 CET 2008


Author: qboosh                       Date: Thu Jan 24 20:30:59 2008 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
- it seems that package expects elements not attributes

---- Files affected:
pld-builder.new/PLD_Builder:
   report.py (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/report.py
diff -u pld-builder.new/PLD_Builder/report.py:1.32 pld-builder.new/PLD_Builder/report.py:1.33
--- pld-builder.new/PLD_Builder/report.py:1.32	Fri Mar  4 11:44:11 2005
+++ pld-builder.new/PLD_Builder/report.py	Thu Jan 24 21:30:53 2008
@@ -124,11 +124,11 @@
     # 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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/PLD_Builder/report.py?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list