pld-builder.new: PLD_Builder/buildlogs.py name should contain blogfile

arekm arekm at pld-linux.org
Mon Oct 5 22:58:14 CEST 2009


Author: arekm                        Date: Mon Oct  5 20:58:14 2009 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
name should contain blogfile

---- Files affected:
pld-builder.new/PLD_Builder:
   buildlogs.py (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/buildlogs.py
diff -u pld-builder.new/PLD_Builder/buildlogs.py:1.24 pld-builder.new/PLD_Builder/buildlogs.py:1.25
--- pld-builder.new/PLD_Builder/buildlogs.py:1.24	Mon Oct  5 22:51:41 2009
+++ pld-builder.new/PLD_Builder/buildlogs.py	Mon Oct  5 22:58:09 2009
@@ -23,7 +23,7 @@
         if config.buildlogs_url == "/dev/null":
             return
         blogfile = os.path.basename(logfile)
-        name = re.sub(r"\.spec\.log", "", blogfile) + "," + id + '.' + blogfile + ".bz2"
+        name = re.sub(r"\.spec\.log", "", blogfile) + "," + id + ".bz2"
         ret = os.system("bzip2 --best --force < %s > %s" \
                     % (logfile, path.buildlogs_queue_dir + '/' + id + '.' + blogfile))
         if ret:
================================================================

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



More information about the pld-cvs-commit mailing list