summaryrefslogtreecommitdiff
path: root/Mailman/Queue/Switchboard.py
diff options
context:
space:
mode:
authorbwarsaw2001-05-14 18:04:35 +0000
committerbwarsaw2001-05-14 18:04:35 +0000
commitfe29fe1c2498f68f73dac6d66745702cf1c37f6a (patch)
treefbf48ecfe2b74fea8df4ffa1631a1b1d0058fed8 /Mailman/Queue/Switchboard.py
parent957898e236a41afed204f4d192d34831f6f6240c (diff)
downloadmailman-fe29fe1c2498f68f73dac6d66745702cf1c37f6a.tar.gz
mailman-fe29fe1c2498f68f73dac6d66745702cf1c37f6a.tar.zst
mailman-fe29fe1c2498f68f73dac6d66745702cf1c37f6a.zip
__oneloop(): Guarantee FIFO order on the processed messages. We
assume that the list of files coming back from Switchboard.files() is sorted by received time, so we don't need to randomize this list. Also, it's now possible for Switchboard.dequeue() to return None for either or both of msg and msgdata (say if the .msg file for a .db file got lost somehow). Check that both are not None before proceeding (but if either is None, log an error).
Diffstat (limited to 'Mailman/Queue/Switchboard.py')
0 files changed, 0 insertions, 0 deletions