summaryrefslogtreecommitdiff
path: root/src/mailman/rules/emergency.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/rules/emergency.py')
-rw-r--r--src/mailman/rules/emergency.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/rules/emergency.py b/src/mailman/rules/emergency.py
index 7b2100875..7c11b0aa3 100644
--- a/src/mailman/rules/emergency.py
+++ b/src/mailman/rules/emergency.py
@@ -17,7 +17,7 @@
"""The emergency hold rule."""
-from __future__ import absolute_import, unicode_literals
+from __future__ import absolute_import, print_function, unicode_literals
__metaclass__ = type
__all__ = [
@@ -25,16 +25,16 @@ __all__ = [
]
-from zope.interface import implements
+from zope.interface import implementer
from mailman.core.i18n import _
from mailman.interfaces.rules import IRule
+@implementer(IRule)
class Emergency:
"""The emergency hold rule."""
- implements(IRule)
name = 'emergency'