summaryrefslogtreecommitdiff
path: root/src/mailman/commands/cli_help.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-04-25 22:08:22 -0400
committerBarry Warsaw2012-04-25 22:08:22 -0400
commit658fad42b04420962e6ac478247411ee77483d93 (patch)
treedb16a22376b7191910bf674304c847850169144f /src/mailman/commands/cli_help.py
parent4488631dff02731ff03f2fef01ee27bbd944812b (diff)
downloadmailman-658fad42b04420962e6ac478247411ee77483d93.tar.gz
mailman-658fad42b04420962e6ac478247411ee77483d93.tar.zst
mailman-658fad42b04420962e6ac478247411ee77483d93.zip
Diffstat (limited to 'src/mailman/commands/cli_help.py')
-rw-r--r--src/mailman/commands/cli_help.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mailman/commands/cli_help.py b/src/mailman/commands/cli_help.py
index 538d9c520..a85dcd442 100644
--- a/src/mailman/commands/cli_help.py
+++ b/src/mailman/commands/cli_help.py
@@ -17,7 +17,7 @@
"""The 'help' subcommand."""
-from __future__ import absolute_import, unicode_literals
+from __future__ import absolute_import, print_function, unicode_literals
__metaclass__ = type
__all__ = [
@@ -25,18 +25,17 @@ __all__ = [
]
-from zope.interface import implements
+from zope.interface import implementer
from mailman.interfaces.command import ICLISubCommand
+@implementer(ICLISubCommand)
class Help:
# Lowercase, to match argparse's default --help text.
"""show this help message and exit"""
- implements(ICLISubCommand)
-
name = 'help'
def add(self, parser, command_parser):