summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/Handlers/Approve.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/Approve.py b/Mailman/Handlers/Approve.py
index 269572532..265dcaece 100644
--- a/Mailman/Handlers/Approve.py
+++ b/Mailman/Handlers/Approve.py
@@ -48,6 +48,6 @@ def process(mlist, msg, msgdata):
# match? For now we'll let it percolate up for further determination.
msgdata['approved'] = 1
# has this message already been posted to this list?
- beentheres = [s.strip().lower() for s in msg.get_all('x-beenthere')]
+ beentheres = [s.strip().lower() for s in msg.get_all('x-beenthere', [])]
if mlist.GetListEmail().lower() in beentheres:
raise Errors.LoopError