summaryrefslogtreecommitdiff
path: root/src/mailman/app/moderator.py
diff options
context:
space:
mode:
authorBarry Warsaw2014-12-15 20:01:53 -0500
committerBarry Warsaw2014-12-15 20:01:53 -0500
commit068634612210ea447dca21db416724cba88cd64d (patch)
tree1cbecf2aa182163aa61ec38269f526c9cd28a692 /src/mailman/app/moderator.py
parentacf95993ceb605c71ad07a32a572ae1f0888a7de (diff)
downloadmailman-068634612210ea447dca21db416724cba88cd64d.tar.gz
mailman-068634612210ea447dca21db416724cba88cd64d.tar.zst
mailman-068634612210ea447dca21db416724cba88cd64d.zip
Diffstat (limited to 'src/mailman/app/moderator.py')
-rw-r--r--src/mailman/app/moderator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/app/moderator.py b/src/mailman/app/moderator.py
index 2a8c5f8c2..c82327184 100644
--- a/src/mailman/app/moderator.py
+++ b/src/mailman/app/moderator.py
@@ -134,7 +134,7 @@ def handle_message(mlist, id, action,
# Start by getting the message from the message store.
msg = message_store.get_message_by_id(message_id)
# Delete moderation-specific entries from the message metadata.
- for key in msgdata.keys():
+ for key in list(msgdata):
if key.startswith('_mod_'):
del msgdata[key]
# Add some metadata to indicate this message has now been approved.