~raj-abhilash1/mailman/bugfix

« back to all changes in this revision

Viewing changes to src/mailman/commands/eml_echo.py

  • Committer: Barry Warsaw
  • Date: 2012-04-26 02:08:22 UTC
  • Revision ID: barry@list.org-20120426020822-g5shyz6tr3gwkmiw
General code cleanup.

 - Add explicit dependency on zope.event in setup.py.
 - Use Python 3 compatible syntax for specifying that a class implements an
   interface, i.e. the @implementer class decorator.
 - print_function futures.
 - Whitespace normalization.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    ]
26
26
 
27
27
 
28
 
from zope.interface import implements
 
28
from zope.interface import implementer
29
29
 
30
30
from mailman.core.i18n import _
31
31
from mailman.interfaces.command import ContinueProcessing, IEmailCommand
35
35
 
36
36
 
37
37
 
 
38
@implementer(IEmailCommand)
38
39
class Echo:
39
40
    """The email 'echo' command."""
40
 
    implements(IEmailCommand)
41
41
 
42
42
    name = 'echo'
43
43
    argument_description = '[args]'