summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/Queue/Runner.py3
-rw-r--r--Mailman/docs/listmanager.txt6
-rw-r--r--Mailman/docs/mlist-addresses.txt3
-rw-r--r--Mailman/tests/test_handlers.py2
-rw-r--r--Mailman/tests/test_membership.py2
5 files changed, 1 insertions, 15 deletions
diff --git a/Mailman/Queue/Runner.py b/Mailman/Queue/Runner.py
index b4d8f7912..9fb5434cc 100644
--- a/Mailman/Queue/Runner.py
+++ b/Mailman/Queue/Runner.py
@@ -28,7 +28,6 @@ import email.Errors
from cStringIO import StringIO
from Mailman import Errors
-from Mailman import MailList
from Mailman import Utils
from Mailman import i18n
from Mailman.Queue.Switchboard import Switchboard
@@ -204,7 +203,7 @@ class Runner:
the primary overridable method for processing each message.
Subclasses, must provide implementation for this method.
- mlist is the MailList instance this message is destined for.
+ mlist is the IMailingList instance this message is destined for.
msg is the Message object representing the message.
diff --git a/Mailman/docs/listmanager.txt b/Mailman/docs/listmanager.txt
index 030f2ecd5..2c908b169 100644
--- a/Mailman/docs/listmanager.txt
+++ b/Mailman/docs/listmanager.txt
@@ -25,12 +25,6 @@ Creating the list returns the newly created IMailList object.
>>> IMailingList.providedBy(mlist)
True
-This object has an identity.
-
- >>> from Mailman.interfaces import IMailingListIdentity
- >>> IMailingListIdentity.providedBy(mlist)
- True
-
All lists with identities have a short name, a host name, and a fully
qualified listname. This latter is what uniquely distinguishes the mailing
list to the system.
diff --git a/Mailman/docs/mlist-addresses.txt b/Mailman/docs/mlist-addresses.txt
index 3501524a4..2eba70f8f 100644
--- a/Mailman/docs/mlist-addresses.txt
+++ b/Mailman/docs/mlist-addresses.txt
@@ -5,12 +5,9 @@ Every mailing list has a number of addresses which are publicly available.
These are defined in the IMailingListAddresses interface.
>>> from Mailman.configuration import config
- >>> from Mailman.interfaces import IMailingListAddresses
>>> from Mailman.database import flush
>>> mlist = config.db.list_manager.create('_xtest@example.com')
>>> flush()
- >>> IMailingListAddresses.providedBy(mlist)
- True
The posting address is where people send messages to be posted to the mailing
list. This is exactly the same as the fully qualified list name.
diff --git a/Mailman/tests/test_handlers.py b/Mailman/tests/test_handlers.py
index b4cb390ce..9cadc1db9 100644
--- a/Mailman/tests/test_handlers.py
+++ b/Mailman/tests/test_handlers.py
@@ -23,7 +23,6 @@ import unittest
from Mailman import Errors
from Mailman import Message
from Mailman import passwords
-from Mailman.MailList import MailList
from Mailman.configuration import config
from Mailman.Handlers import Approve
@@ -114,5 +113,4 @@ X-BeenThere: %s
def test_suite():
suite = unittest.TestSuite()
-## suite.addTest(unittest.makeSuite(TestApprove))
return suite
diff --git a/Mailman/tests/test_membership.py b/Mailman/tests/test_membership.py
index b874ee67c..ed43e40af 100644
--- a/Mailman/tests/test_membership.py
+++ b/Mailman/tests/test_membership.py
@@ -21,8 +21,6 @@ import os
import time
import unittest
-from Mailman import MailList
-from Mailman import MemberAdaptor
from Mailman import Utils
from Mailman import passwords
from Mailman.Errors import NotAMemberError