summaryrefslogtreecommitdiff
path: root/mailman/queue/lmtp.py
diff options
context:
space:
mode:
Diffstat (limited to 'mailman/queue/lmtp.py')
-rw-r--r--mailman/queue/lmtp.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/mailman/queue/lmtp.py b/mailman/queue/lmtp.py
index 1f45732a3..f52c99fae 100644
--- a/mailman/queue/lmtp.py
+++ b/mailman/queue/lmtp.py
@@ -34,7 +34,6 @@ See the variable USE_LMTP in Defaults.py.in for enabling this delivery
mechanism.
"""
-import os
import email
import smtpd
import logging
@@ -194,8 +193,8 @@ class LMTPRunner(Runner, smtpd.SMTPServer):
msgdata['tolist'] = True
queue = 'in'
elif subaddress == 'request':
- msgdata['torequest'] = True
- queue = 'command'
+ msgdata['torequest'] = True
+ queue = 'command'
else:
elog.error('Unknown sub-address: %s', subaddress)
status.append(ERR_550)