[Piuparts-commits] rev 613 - trunk

Holger Levsen holger at alioth.debian.org
Tue Dec 29 14:54:28 UTC 2009


Author: holger
Date: 2009-12-29 14:54:28 +0000 (Tue, 29 Dec 2009)
New Revision: 613

Modified:
   trunk/piuparts-slave.py
Log:
report how long the slave is sleeping

Modified: trunk/piuparts-slave.py
===================================================================
--- trunk/piuparts-slave.py	2009-12-29 14:46:57 UTC (rev 612)
+++ trunk/piuparts-slave.py	2009-12-29 14:54:28 UTC (rev 613)
@@ -451,7 +451,7 @@
           if os.listdir(os.path.join(global_config["master-directory"],section_name,"reserved")):
             idle = False
         if idle:
-          logging.info("Nothing to do, sleeping for a bit")
+          logging.info("Nothing to do, sleeping for %s seconds." % global_config["idle-sleep"])
           time.sleep(int(global_config["idle-sleep"]))
 
 




More information about the Piuparts-commits mailing list