1
# Copyright (C) 2011 by the Free Software Foundation, Inc.
3
# This file is part of GNU Mailman.
5
# GNU Mailman is free software: you can redistribute it and/or modify it under
6
# the terms of the GNU General Public License as published by the Free
7
# Software Foundation, either version 3 of the License, or (at your option)
10
# GNU Mailman is distributed in the hope that it will be useful, but WITHOUT
11
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15
# You should have received a copy of the GNU General Public License along with
16
# GNU Mailman. If not, see <http://www.gnu.org/licenses/>.
20
from __future__ import absolute_import, unicode_literals
28
from zope import event
30
from mailman.app import moderator, subscriptions
35
"""Initialize global event subscribers."""
36
event.subscribers.extend([
37
moderator.handle_ListDeletingEvent,
38
subscriptions.handle_ListDeletedEvent,