[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. eda668423fa87898c59d1075118693714aa5a053

Holger Levsen holger at layer-acht.org
Fri Dec 23 10:25:47 UTC 2011


The following commit has been merged in the master branch:
commit 21cde53fb76105db2e7183038aed0f4bca495f6b
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Nov 13 17:28:00 2011 +0100

    try harder to fix syntax error in 9c5ed505

diff --git a/piuparts-slave.py b/piuparts-slave.py
index 150fd53..3733714 100644
--- a/piuparts-slave.py
+++ b/piuparts-slave.py
@@ -427,7 +427,7 @@ def create_or_replace_chroot_tgz(config, tgz, tgz_ctrl, distro):
         statobj = os.stat(tgz)
         # stat.ST_MTIME is actually time file was initially created
         age = now - statobj[stat.ST_MTIME]
-        logging.info("Check-replace tgz: age (%d-%d=%d) vs. max(%d)\n" % (now, statobj[stat.ST_MTIME], now - statobj[stat.ST_MTIME], age,max_tgz_age))
+        logging.info("Check-replace tgz: age (%d-%d=%d) vs. max(%d)\n" % (now, statobj[stat.ST_MTIME], age, max_tgz_age))
         if age > max_tgz_age:
             logging.info("Limit-replace tgz: retry-time (%d-%d=%d) vs. min(%d)\n" % (now, statobj[stat.ST_CTIME], now - statobj[stat.ST_CTIME], min_tgz_retry_delay))
             # stat.ST_CTIME is time created OR last renamed

-- 
piuparts git repository



More information about the Piuparts-commits mailing list