summaryrefslogtreecommitdiff
path: root/src/mailman/bin/mailman.py
diff options
context:
space:
mode:
authorBarry Warsaw2017-06-17 03:33:39 +0000
committerBarry Warsaw2017-06-17 03:33:39 +0000
commit66559bacf1dbfa166c2d4c2596ea96c7909bb43c (patch)
tree9bc9cef4a696639654185709c1143924b1d41f43 /src/mailman/bin/mailman.py
parent4fdad6f9c8a9487a6f2c8462be734cd97aaf4d94 (diff)
parent88f40ac0add14cc9e7c106c5e2e9ec3d6f73df6e (diff)
downloadmailman-66559bacf1dbfa166c2d4c2596ea96c7909bb43c.tar.gz
mailman-66559bacf1dbfa166c2d4c2596ea96c7909bb43c.tar.zst
mailman-66559bacf1dbfa166c2d4c2596ea96c7909bb43c.zip
Diffstat (limited to 'src/mailman/bin/mailman.py')
-rw-r--r--src/mailman/bin/mailman.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mailman/bin/mailman.py b/src/mailman/bin/mailman.py
index eea3603a8..62066175e 100644
--- a/src/mailman/bin/mailman.py
+++ b/src/mailman/bin/mailman.py
@@ -28,7 +28,6 @@ from mailman.interfaces.command import ICLISubCommand
from mailman.utilities.modules import find_components
from mailman.version import MAILMAN_VERSION_FULL
from public import public
-from zope.interface.verify import verifyObject
# --help should display the subcommands by alphabetical order, except that
@@ -76,9 +75,7 @@ def main():
# the plugins. Punt on this for now.
subparser = parser.add_subparsers(title='Commands')
subcommands = []
- for command_class in find_components('mailman.commands', ICLISubCommand):
- command = command_class()
- verifyObject(ICLISubCommand, command)
+ for command in find_components('mailman.commands', ICLISubCommand):
subcommands.append(command)
subcommands.sort(key=cmp_to_key(_help_sorter))
for command in subcommands: