Skip to content

Commit d357bdd

Browse files
committed
update
1 parent 395ac44 commit d357bdd

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Mailman/Queue/IncomingRunner.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,11 @@ def _oneloop(self):
331331
# Dequeue the file
332332
msg, msgdata = self._switchboard.dequeue(filebase)
333333

334+
# Skip if dequeue failed
335+
if msg is None or msgdata is None:
336+
mailman_log('error', 'IncomingRunner._oneloop: Failed to dequeue file %s (got None values)', filebase)
337+
continue
338+
334339
# Process the message
335340
try:
336341
# Get the list name from the message data

0 commit comments

Comments
 (0)