diff options
| author | cotton | 1998-10-09 17:35:08 +0000 |
|---|---|---|
| committer | cotton | 1998-10-09 17:35:08 +0000 |
| commit | cda0e10d9fd84aba8ed16fba62cc1ffa542886ac (patch) | |
| tree | 95fbe2e496d90851fafe3664336300c8d137cfb2 | |
| parent | 29a11313478f9b0469bc9d197909fe3a467f6146 (diff) | |
| download | mailman-cda0e10d9fd84aba8ed16fba62cc1ffa542886ac.tar.gz mailman-cda0e10d9fd84aba8ed16fba62cc1ffa542886ac.tar.zst mailman-cda0e10d9fd84aba8ed16fba62cc1ffa542886ac.zip | |
Nagy's mail command end patch (add "--" as equivalent to "end" command
to stop processing of .sigs
scott
| -rw-r--r-- | Mailman/MailCommandHandler.py | 2 | ||||
| -rw-r--r-- | templates/help.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/MailCommandHandler.py b/Mailman/MailCommandHandler.py index 839387fe6..4459b36d4 100644 --- a/Mailman/MailCommandHandler.py +++ b/Mailman/MailCommandHandler.py @@ -136,7 +136,7 @@ class MailCommandHandler: args = string.split(line) cmd = string.lower(args[0]) args = args[1:] - if cmd == 'end': + if cmd in ['end', '--']: self.AddError("End of commands.") break if not self._cmd_dispatch.has_key(cmd): diff --git a/templates/help.txt b/templates/help.txt index 7c6843a9b..10ef35991 100644 --- a/templates/help.txt +++ b/templates/help.txt @@ -86,7 +86,7 @@ The following commands are valid: password <oldpassword> <newpassword> Change your list password. - end + end or -- Stop processing commands (good to do if your mailer automatically adds a signature file - it'll save you from a lot of cruft). |
