summaryrefslogtreecommitdiff
path: root/src/mailman/handlers/to_usenet.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/handlers/to_usenet.py')
-rw-r--r--src/mailman/handlers/to_usenet.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mailman/handlers/to_usenet.py b/src/mailman/handlers/to_usenet.py
index 021f8f9e5..79f4c9b1b 100644
--- a/src/mailman/handlers/to_usenet.py
+++ b/src/mailman/handlers/to_usenet.py
@@ -27,7 +27,7 @@ __all__ = [
import logging
-from zope.interface import implements
+from zope.interface import implementer
from mailman.config import config
from mailman.core.i18n import _
@@ -39,11 +39,10 @@ log = logging.getLogger('mailman.error')
+@implementer(IHandler)
class ToUsenet:
"""Move the message to the outgoing news queue."""
- implements(IHandler)
-
name = 'to-usenet'
description = _('Move the message to the outgoing news queue.')