diff options
| author | twouters | 2003-03-11 22:51:44 +0000 |
|---|---|---|
| committer | twouters | 2003-03-11 22:51:44 +0000 |
| commit | d6e6ac7eac7b4e6084903fa71cbe9b6996adbd88 (patch) | |
| tree | 86d1a02e4ef6acd37c205a1bcd0497cb4d1b966a /Mailman/Queue/CommandRunner.py | |
| parent | d3ffcb9ae13e6229a11980ace6221a1931aa3ca1 (diff) | |
| download | mailman-d6e6ac7eac7b4e6084903fa71cbe9b6996adbd88.tar.gz mailman-d6e6ac7eac7b4e6084903fa71cbe9b6996adbd88.tar.zst mailman-d6e6ac7eac7b4e6084903fa71cbe9b6996adbd88.zip | |
Diffstat (limited to 'Mailman/Queue/CommandRunner.py')
| -rw-r--r-- | Mailman/Queue/CommandRunner.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Mailman/Queue/CommandRunner.py b/Mailman/Queue/CommandRunner.py index 785511b31..27ecb621e 100644 --- a/Mailman/Queue/CommandRunner.py +++ b/Mailman/Queue/CommandRunner.py @@ -140,6 +140,12 @@ Attached is your original message. if unprocessed: resp.append(_('\n- Unprocessed:')) resp.extend(indent(unprocessed)) + if not unprocessed and not self.results: + # The user sent an empty message; return a helpful one. + resp.append(Utils.wrap(_("""\ +No commands were found in this message. +To obtain instructions, send a message containing just the word "help". +"""))) if self.ignored: resp.append(_('\n- Ignored:')) resp.extend(indent(self.ignored)) |
