pld-builder.new: PLD_Builder/buildlogs.py Use per builder log file names.

arekm arekm at pld-linux.org
Sun Oct 2 16:21:18 CEST 2011


Author: arekm                        Date: Sun Oct  2 14:21:18 2011 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
Use per builder log file names.

---- Files affected:
pld-builder.new/PLD_Builder:
   buildlogs.py (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/buildlogs.py
diff -u pld-builder.new/PLD_Builder/buildlogs.py:1.27 pld-builder.new/PLD_Builder/buildlogs.py:1.28
--- pld-builder.new/PLD_Builder/buildlogs.py:1.27	Sat Oct  1 20:54:51 2011
+++ pld-builder.new/PLD_Builder/buildlogs.py	Sun Oct  2 16:21:13 2011
@@ -31,11 +31,11 @@
 
         if failed: s = "FAIL"
         else: s = "OK"
-        f = open(path.buildlogs_queue_dir + '/' + id + '.' + blogfile + ".info", "w")
+        f = open(path.buildlogs_queue_dir + '/' + config.builder + '.' + id + '.' + blogfile + ".info", "w")
         f.write("Status: %s\nEND\n" % s)
         f.close()
 
-        self.queue.append({'name': name, 'id': id + '.' + blogfile, 'failed': failed})
+        self.queue.append({'name': name, config.builder + '.' + id + '.' + blogfile, 'failed': failed})
 
     def flush(self):
         def desc(l):
================================================================

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



More information about the pld-cvs-commit mailing list