summaryrefslogtreecommitdiff
path: root/Mailman/Queue/Runner.py
diff options
context:
space:
mode:
authorBarry Warsaw2007-09-29 11:09:14 -0400
committerBarry Warsaw2007-09-29 11:09:14 -0400
commitcbf2967239163e42cc2b25eece7bb5cb71b197fe (patch)
treee8445a0af47c9c203107eea913f11dbc9229477b /Mailman/Queue/Runner.py
parent773980eb727b98c902b93894cafcd6bc7d22510d (diff)
downloadmailman-cbf2967239163e42cc2b25eece7bb5cb71b197fe.tar.gz
mailman-cbf2967239163e42cc2b25eece7bb5cb71b197fe.tar.zst
mailman-cbf2967239163e42cc2b25eece7bb5cb71b197fe.zip
Diffstat (limited to 'Mailman/Queue/Runner.py')
-rw-r--r--Mailman/Queue/Runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Queue/Runner.py b/Mailman/Queue/Runner.py
index 9fb5434cc..958e11e6c 100644
--- a/Mailman/Queue/Runner.py
+++ b/Mailman/Queue/Runner.py
@@ -229,9 +229,9 @@ class Runner:
based on this value. By default, we only snooze if there was nothing
to do last time around.
"""
- if filecnt or self.SLEEPTIME <= 0:
+ if filecnt or float(self.SLEEPTIME) <= 0:
return
- time.sleep(self.SLEEPTIME)
+ time.sleep(float(self.SLEEPTIME))
def _shortcircuit(self):
"""Return a true value if the individual file processing loop should