diff options
| author | bwarsaw | 2001-05-14 18:04:35 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-05-14 18:04:35 +0000 |
| commit | fe29fe1c2498f68f73dac6d66745702cf1c37f6a (patch) | |
| tree | fbf48ecfe2b74fea8df4ffa1631a1b1d0058fed8 /Mailman/Queue/Switchboard.py | |
| parent | 957898e236a41afed204f4d192d34831f6f6240c (diff) | |
| download | mailman-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
