pld-builder.new: PLD_Builder/report.py - reverted, schema is out o...

qboosh qboosh at pld-linux.org
Thu Jan 24 23:31:41 CET 2008


Author: qboosh                       Date: Thu Jan 24 22:31:41 2008 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
- reverted, schema is out of sync with LibCIA.Formatters.Builder source

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

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/report.py
diff -u pld-builder.new/PLD_Builder/report.py:1.33 pld-builder.new/PLD_Builder/report.py:1.34
--- pld-builder.new/PLD_Builder/report.py:1.33	Thu Jan 24 21:30:53 2008
+++ pld-builder.new/PLD_Builder/report.py	Thu Jan 24 23:31:36 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>\n')
+        m.write('<package name="%s" arch="%s">\n' % (b.spec, b.branch))
         if b.build_failed:
-            m.write('<failed>%s from tag %s</failed>\n' % (b.spec, b.branch))
+            m.write('<failed/>\n')
         else:
-            m.write('<success>%s from tag %s</success>\n' % (b.spec, b.branch))
+            m.write('<success/>\n')
         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.33&r2=1.34&f=u



More information about the pld-cvs-commit mailing list