~abompard/mailman/import21

« back to all changes in this revision

Viewing changes to src/mailman/model/listmanager.py

  • Committer: Aurélien Bompard
  • Date: 2013-10-03 16:37:04 UTC
  • Revision ID: aurelien@bompard.org-20131003163704-d9p7wz110x91p25f
More unicode fixes in the import script

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    IListManager, ListAlreadyExistsError, ListCreatedEvent, ListCreatingEvent,
35
35
    ListDeletedEvent, ListDeletingEvent)
36
36
from mailman.model.mailinglist import MailingList
37
 
from mailman.model.mime import ContentFilter
38
37
from mailman.utilities.datetime import now
39
38
 
40
39
 
80
79
        """See `IListManager`."""
81
80
        fqdn_listname = mlist.fqdn_listname
82
81
        notify(ListDeletingEvent(mlist))
83
 
        store.find(ContentFilter, ContentFilter.mailing_list == mlist).remove()
84
82
        store.remove(mlist)
85
83
        notify(ListDeletedEvent(fqdn_listname))
86
84