summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/Approve.py
diff options
context:
space:
mode:
authorbwarsaw2001-10-09 23:15:18 +0000
committerbwarsaw2001-10-09 23:15:18 +0000
commit5729561c6b1e9128013eb0330d6eeb3a74bcac7f (patch)
tree3c9396da3b50c714678c579297bf7b4a41547bd4 /Mailman/Handlers/Approve.py
parente7bea1efd0b4c221886cace8a49adbd99f6b1a8b (diff)
downloadmailman-5729561c6b1e9128013eb0330d6eeb3a74bcac7f.tar.gz
mailman-5729561c6b1e9128013eb0330d6eeb3a74bcac7f.tar.zst
mailman-5729561c6b1e9128013eb0330d6eeb3a74bcac7f.zip
Diffstat (limited to 'Mailman/Handlers/Approve.py')
-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