[or-cvs] r19592: {torctl} Allow jobs to stop the "run all jobs" loop.. (torctl/trunk/python/TorCtl)
mikeperry at seul.org
mikeperry at seul.org
Sat May 30 05:32:19 UTC 2009
Author: mikeperry
Date: 2009-05-30 01:32:18 -0400 (Sat, 30 May 2009)
New Revision: 19592
Modified:
torctl/trunk/python/TorCtl/PathSupport.py
Log:
Allow jobs to stop the "run all jobs" loop..
Modified: torctl/trunk/python/TorCtl/PathSupport.py
===================================================================
--- torctl/trunk/python/TorCtl/PathSupport.py 2009-05-30 04:48:16 UTC (rev 19591)
+++ torctl/trunk/python/TorCtl/PathSupport.py 2009-05-30 05:32:18 UTC (rev 19592)
@@ -1344,7 +1344,7 @@
self.do_reconfigure = False
if self.run_all_jobs:
- while not self.low_prio_jobs.empty():
+ while not self.low_prio_jobs.empty() and self.run_all_jobs:
imm_job = self.low_prio_jobs.get_nowait()
imm_job(self)
self.run_all_jobs = False
More information about the tor-commits
mailing list