summaryrefslogtreecommitdiff
path: root/src/mailman/core/switchboard.py
diff options
context:
space:
mode:
authorBarry Warsaw2014-12-15 11:12:13 -0500
committerBarry Warsaw2014-12-15 11:12:13 -0500
commitd0c53890bf0c8aa531d45958f0e25fdaccbdb133 (patch)
treea4a4e4b1cb48b08540fb809cd06bf272f69f4c6a /src/mailman/core/switchboard.py
parentbdc9795891a6df7e1ae61204d0640339cf48ebee (diff)
downloadmailman-d0c53890bf0c8aa531d45958f0e25fdaccbdb133.tar.gz
mailman-d0c53890bf0c8aa531d45958f0e25fdaccbdb133.tar.zst
mailman-d0c53890bf0c8aa531d45958f0e25fdaccbdb133.zip
Diffstat (limited to 'src/mailman/core/switchboard.py')
-rw-r--r--src/mailman/core/switchboard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/core/switchboard.py b/src/mailman/core/switchboard.py
index d635a12e9..3375aa1dd 100644
--- a/src/mailman/core/switchboard.py
+++ b/src/mailman/core/switchboard.py
@@ -134,7 +134,7 @@ class Switchboard:
data['version'] = config.QFILE_SCHEMA_VERSION
# Filter out volatile entries. Use .keys() so that we can mutate the
# dictionary during the iteration.
- for k in data.keys():
+ for k in list(data):
if k.startswith('_'):
del data[k]
# We have to tell the dequeue() method whether to parse the message