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/eml_end.py | |
| parent | 8cc7e77b85f013d6f9ea4cda16ae18856fd6ccee (diff) | |
| download | mailman-d964be9f9a141772bb0538f7bc7ecfbf83950a02.tar.gz mailman-d964be9f9a141772bb0538f7bc7ecfbf83950a02.tar.zst mailman-d964be9f9a141772bb0538f7bc7ecfbf83950a02.zip | |
Clean up the commands subdirectory.
Diffstat (limited to 'src/mailman/commands/eml_end.py')
| -rw-r--r-- | src/mailman/commands/eml_end.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mailman/commands/eml_end.py b/src/mailman/commands/eml_end.py index 1e14a262d..82b66a1a6 100644 --- a/src/mailman/commands/eml_end.py +++ b/src/mailman/commands/eml_end.py @@ -17,18 +17,13 @@ """The email commands 'end' and 'stop'.""" -__all__ = [ - 'End', - 'Stop', - ] - - +from mailman import public from mailman.core.i18n import _ from mailman.interfaces.command import ContinueProcessing, IEmailCommand from zope.interface import implementer - +@public @implementer(IEmailCommand) class End: """The email 'end' command.""" @@ -44,6 +39,7 @@ class End: return ContinueProcessing.no +@public class Stop(End): """The email 'stop' command (an alias for 'end').""" |
