pld-builder.new: PLD_Builder/rpm_builder.py Show number of days, too.

arekm arekm at pld-linux.org
Tue Aug 31 12:07:06 CEST 2010


Author: arekm                        Date: Tue Aug 31 10:07:06 2010 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
Show number of days, too.

---- Files affected:
pld-builder.new/PLD_Builder:
   rpm_builder.py (1.118 -> 1.119) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/rpm_builder.py
diff -u pld-builder.new/PLD_Builder/rpm_builder.py:1.118 pld-builder.new/PLD_Builder/rpm_builder.py:1.119
--- pld-builder.new/PLD_Builder/rpm_builder.py:1.118	Mon Feb 22 11:42:46 2010
+++ pld-builder.new/PLD_Builder/rpm_builder.py	Tue Aug 31 12:06:58 2010
@@ -189,7 +189,7 @@
                 begin_time = time.time()
                 res = chroot.run(cmd, logfile = b.logfile)
                 end_time = time.time()
-                b.log_line("ended at: %s, done in %s" % (time.asctime(), time.strftime("%Hh %Mm %Ss", time.gmtime(end_time - begin_time))))
+                b.log_line("ended at: %s, done in %s" % (time.asctime(), time.strftime("%ddays %Hh %Mm %Ss", time.gmtime(end_time - begin_time))))
                 if res:
                     res = "FAIL"
                 files = util.collect_files(b.logfile)
================================================================

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



More information about the pld-cvs-commit mailing list