diff options
| author | Barry Warsaw | 2016-03-24 15:12:45 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-03-24 15:12:45 -0400 |
| commit | d964be9f9a141772bb0538f7bc7ecfbf83950a02 (patch) | |
| tree | ac64133d73352829e5d58deb3f7553098ae12f4b /src/mailman/commands/cli_digests.py | |
| parent | 8cc7e77b85f013d6f9ea4cda16ae18856fd6ccee (diff) | |
| download | mailman-d964be9f9a141772bb0538f7bc7ecfbf83950a02.tar.gz mailman-d964be9f9a141772bb0538f7bc7ecfbf83950a02.tar.zst mailman-d964be9f9a141772bb0538f7bc7ecfbf83950a02.zip | |
Diffstat (limited to 'src/mailman/commands/cli_digests.py')
| -rw-r--r-- | src/mailman/commands/cli_digests.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mailman/commands/cli_digests.py b/src/mailman/commands/cli_digests.py index 143df4ec5..c4623259e 100644 --- a/src/mailman/commands/cli_digests.py +++ b/src/mailman/commands/cli_digests.py @@ -17,13 +17,9 @@ """The `send_digests` subcommand.""" -__all__ = [ - 'Digests', - ] - - import sys +from mailman import public from mailman.app.digests import ( bump_digest_number_and_volume, maybe_send_digest_now) from mailman.core.i18n import _ @@ -33,7 +29,7 @@ from zope.component import getUtility from zope.interface import implementer - +@public @implementer(ICLISubCommand) class Digests: """Operate on digests.""" @@ -78,7 +74,7 @@ class Digests: else: lists.append(mlist) else: - lists = list(list_manager.mailing_lists) + lists = list(list_manager.mailing_lists) if args.bump: for mlist in lists: bump_digest_number_and_volume(mlist) |
