diff options
| author | Barry Warsaw | 2007-09-29 11:09:14 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2007-09-29 11:09:14 -0400 |
| commit | cbf2967239163e42cc2b25eece7bb5cb71b197fe (patch) | |
| tree | e8445a0af47c9c203107eea913f11dbc9229477b /Mailman/Queue/Runner.py | |
| parent | 773980eb727b98c902b93894cafcd6bc7d22510d (diff) | |
| download | mailman-cbf2967239163e42cc2b25eece7bb5cb71b197fe.tar.gz mailman-cbf2967239163e42cc2b25eece7bb5cb71b197fe.tar.zst mailman-cbf2967239163e42cc2b25eece7bb5cb71b197fe.zip | |
Diffstat (limited to 'Mailman/Queue/Runner.py')
| -rw-r--r-- | Mailman/Queue/Runner.py | 4 |
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 |
