summaryrefslogtreecommitdiff
path: root/Mailman/Queue/CommandRunner.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Queue/CommandRunner.py')
-rw-r--r--Mailman/Queue/CommandRunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Queue/CommandRunner.py b/Mailman/Queue/CommandRunner.py
index 6296b7aee..74544eac6 100644
--- a/Mailman/Queue/CommandRunner.py
+++ b/Mailman/Queue/CommandRunner.py
@@ -62,7 +62,7 @@ class Results:
self.lineno = 0
self.subjcmdretried = 0
# Always process the Subject: header first
- self.commands.append(msg['subject'])
+ self.commands.append(msg.get('subject', ''))
# Find the first text/plain part
part = None
for part in typed_subpart_iterator(msg, 'text', 'plain'):