From bb45766f91ddce5e68ddf0a1fe6fe67d2f93dd60 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sun, 20 Dec 2015 12:44:06 -0500 Subject: Add a send-digests subcommand to send list digests right now. * Add a `mailman send-digests` subcommand which replaces the functionality of the MM2.1 senddigests.py cronjob. * Use mlist.data_path where appropriate instead of crafting it from config.LIST_DATA_DIR. This makes it more consistent to switch to using the list-id as the data subdirectory. * Refactor the to_digest handler so that we can implement maybe_send_digest_now() for the internal API. * Fix some typos in subcommand --help summaries. --- src/mailman/commands/cli_lists.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mailman/commands/cli_lists.py') diff --git a/src/mailman/commands/cli_lists.py b/src/mailman/commands/cli_lists.py index 3d5fcd634..cbc797e5b 100644 --- a/src/mailman/commands/cli_lists.py +++ b/src/mailman/commands/cli_lists.py @@ -122,7 +122,7 @@ class Lists: @implementer(ICLISubCommand) class Create: - """Create a mailing list""" + """Create a mailing list.""" name = 'create' @@ -238,7 +238,7 @@ class Create: @implementer(ICLISubCommand) class Remove: - """Remove a mailing list""" + """Remove a mailing list.""" name = 'remove' -- cgit v1.2.3-70-g09d2