diff options
Diffstat (limited to 'src/mailman/app/moderator.py')
| -rw-r--r-- | src/mailman/app/moderator.py | 2 |
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. |
