[Piuparts-commits] rev 612 - in trunk: . debian
Holger Levsen
holger at alioth.debian.org
Tue Dec 29 14:46:57 UTC 2009
Author: holger
Date: 2009-12-29 14:46:57 +0000 (Tue, 29 Dec 2009)
New Revision: 612
Modified:
trunk/debian/changelog
trunk/piuparts-slave.py
Log:
piuparts-slave.py: fix crash when going into sleep when idle.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-12-29 14:33:55 UTC (rev 611)
+++ trunk/debian/changelog 2009-12-29 14:46:57 UTC (rev 612)
@@ -16,6 +16,7 @@
(=waiting-to-be-tested is calculated correctly). This bug was present
before this change.
TODO: make packagesDB.py read config
+ * piuparts-slave.py: fix crash when going into sleep when idle.
-- Holger Levsen <holger at debian.org> Fri, 18 Dec 2009 13:32:16 +0100
Modified: trunk/piuparts-slave.py
===================================================================
--- trunk/piuparts-slave.py 2009-12-29 14:33:55 UTC (rev 611)
+++ trunk/piuparts-slave.py 2009-12-29 14:46:57 UTC (rev 612)
@@ -452,7 +452,7 @@
idle = False
if idle:
logging.info("Nothing to do, sleeping for a bit")
- time.sleep(int(self._idle_sleep))
+ time.sleep(int(global_config["idle-sleep"]))
if __name__ == "__main__":
More information about the Piuparts-commits
mailing list