Refactor bump_digest_number_and_volume() and maybe_send_digest_now() into
commitc9464cb64f434749fee21e5ebbb15ce3f2fc1691
authorBarry Warsaw <barry@python.org>
Tue, 22 Dec 2015 19:54:46 +0000 (22 14:54 -0500)
committerBarry Warsaw <barry@python.org>
Tue, 22 Dec 2015 19:54:46 +0000 (22 14:54 -0500)
tree9b93f9abe3e253210ba0249f284db85c0ee6b914
parent8e24476848de89302d9b0a8ea91116288201a95d
Refactor bump_digest_number_and_volume() and maybe_send_digest_now() into
their own module inside the mailman.app package.  With the latter, remove the
"all lists" functionality and require the mlist argument.  We'll handle the
"all lists" use case higher up the stack.

Also, rename the send-digests handler digests since we'll next add the bump
functionality.
src/mailman/app/digests.py [copied from src/mailman/handlers/to_digest.py with 52% similarity]
src/mailman/app/tests/test_digests.py [new file with mode: 0644]
src/mailman/commands/cli_digests.py [new file with mode: 0644]
src/mailman/commands/cli_send_digests.py [deleted file]
src/mailman/commands/tests/test_digests.py [moved from src/mailman/commands/tests/test_send_digests.py with 95% similarity]
src/mailman/handlers/to_digest.py