summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2002-11-08 00:00:32 +0000
committerbwarsaw2002-11-08 00:00:32 +0000
commita5f6ee789db06fac97b0ab4242edb1186a1a6eab (patch)
treeb4c159caf332516368358be4ff6f3107687bc619
parentafb84c5ee39efa21cda0707ed0c612e033b2c7bc (diff)
downloadmailman-a5f6ee789db06fac97b0ab4242edb1186a1a6eab.tar.gz
mailman-a5f6ee789db06fac97b0ab4242edb1186a1a6eab.tar.zst
mailman-a5f6ee789db06fac97b0ab4242edb1186a1a6eab.zip
-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'):