aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortkikuchi <>2004-10-31 04:09:01 +0000
committertkikuchi <>2004-10-31 04:09:01 +0000
commit7ea7496698bd9de6255a6a12cf5b6f4f3119fa48 (patch)
treed740e5af770f5c87d5297fdf8eb8897ff3578335
parent5219c266f387e459a74920987f6eb794c5a33293 (diff)
downloadmailman2-7ea7496698bd9de6255a6a12cf5b6f4f3119fa48.tar.gz
mailman2-7ea7496698bd9de6255a6a12cf5b6f4f3119fa48.tar.xz
mailman2-7ea7496698bd9de6255a6a12cf5b6f4f3119fa48.zip
[ 1008983 ] qrunner w/ multiple slices crashing.
Diffstat (limited to '')
-rw-r--r--Mailman/Queue/Switchboard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Queue/Switchboard.py b/Mailman/Queue/Switchboard.py
index f86b83b7..7997dd54 100644
--- a/Mailman/Queue/Switchboard.py
+++ b/Mailman/Queue/Switchboard.py
@@ -164,7 +164,7 @@ class Switchboard:
when, digest = filebase.split('+')
# Throw out any files which don't match our bitrange. BAW: test
# performance and end-cases of this algorithm.
- if not lower or (lower <= long(digest, 16) < upper):
+ if lower is None or (lower <= long(digest, 16) < upper):
times[float(when)] = filebase
# FIFO sort
keys = times.keys()