diff options
| author | Barry Warsaw | 2017-06-17 03:33:38 +0000 |
|---|---|---|
| committer | Barry Warsaw | 2017-06-17 03:33:38 +0000 |
| commit | 88f40ac0add14cc9e7c106c5e2e9ec3d6f73df6e (patch) | |
| tree | 9bc9cef4a696639654185709c1143924b1d41f43 /src/mailman/bin/mailman.py | |
| parent | 4fdad6f9c8a9487a6f2c8462be734cd97aaf4d94 (diff) | |
| download | mailman-88f40ac0add14cc9e7c106c5e2e9ec3d6f73df6e.tar.gz mailman-88f40ac0add14cc9e7c106c5e2e9ec3d6f73df6e.tar.zst mailman-88f40ac0add14cc9e7c106c5e2e9ec3d6f73df6e.zip | |
Diffstat (limited to 'src/mailman/bin/mailman.py')
| -rw-r--r-- | src/mailman/bin/mailman.py | 5 |
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: |
