summaryrefslogtreecommitdiff
path: root/Mailman/MailList.py
diff options
context:
space:
mode:
authorbwarsaw2002-05-02 03:07:48 +0000
committerbwarsaw2002-05-02 03:07:48 +0000
commit36d49340e973a67bb6d96eadd513f7a228bcee74 (patch)
treeedf9b0b93dd7035f4225b8027a8cc2f1753b2f40 /Mailman/MailList.py
parent7aab76e13f92357a3b1b789da1d07eb42e8414db (diff)
downloadmailman-36d49340e973a67bb6d96eadd513f7a228bcee74.tar.gz
mailman-36d49340e973a67bb6d96eadd513f7a228bcee74.tar.zst
mailman-36d49340e973a67bb6d96eadd513f7a228bcee74.zip
MailList: Remove MailCommandHandler from the list of base classes;
it's obsolete now. Also, update some comments.
Diffstat (limited to 'Mailman/MailList.py')
-rw-r--r--Mailman/MailList.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index 3924a511b..f4d4ed389 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -54,7 +54,6 @@ from Mailman.Digester import Digester
from Mailman.GatewayManager import GatewayManager
from Mailman.HTMLFormatter import HTMLFormatter
from Mailman.ListAdmin import ListAdmin
-from Mailman.MailCommandHandler import MailCommandHandler
from Mailman.SecurityManager import SecurityManager
from Mailman.TopicMgr import TopicMgr
@@ -75,7 +74,7 @@ EMPTYSTRING = ''
# Use mixins here just to avoid having any one chunk be too large.
-class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
+class MailList(HTMLFormatter, Deliverer, ListAdmin,
Archiver, Digester, SecurityManager, Bouncer, GatewayManager,
Autoresponder, TopicMgr):
@@ -973,10 +972,9 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
# constructor because it will encode it in the charset of the language
# being used. For non-us-ascii charsets, this means it will probably
# quopri quote it, and thus replies will also be quopri encoded. But
- # MailCommandHandler doesn't yet grok such headers, and I'm avoiding
- # fixing that until a future version which will completely rewrite the
- # mail command handling. So, just set the Subject: in a separate
- # step, although we have to delete the one UserNotification adds.
+ # CommandRunner doesn't yet grok such headers. So, just set the
+ # Subject: in a separate step, although we have to delete the one
+ # UserNotification adds.
msg = Message.UserNotification(
newaddr, self.GetRequestEmail(),
text=text, lang=lang)