diff options
| author | bwarsaw | 2002-11-21 05:34:18 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-11-21 05:34:18 +0000 |
| commit | 92fa58de9a1fe040d3abe1cefa27898cdc561cee (patch) | |
| tree | a20801d1293032ce649b04a06bec59d1ddb83452 /Mailman/Queue/CommandRunner.py | |
| parent | b9c24d302ec116a60d2d83779914b4d736d4eafa (diff) | |
| download | mailman-92fa58de9a1fe040d3abe1cefa27898cdc561cee.tar.gz mailman-92fa58de9a1fe040d3abe1cefa27898cdc561cee.tar.zst mailman-92fa58de9a1fe040d3abe1cefa27898cdc561cee.zip | |
Diffstat (limited to 'Mailman/Queue/CommandRunner.py')
| -rw-r--r-- | Mailman/Queue/CommandRunner.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Mailman/Queue/CommandRunner.py b/Mailman/Queue/CommandRunner.py index 74544eac6..0b5f23bfa 100644 --- a/Mailman/Queue/CommandRunner.py +++ b/Mailman/Queue/CommandRunner.py @@ -61,6 +61,7 @@ class Results: self.ignored = [] self.lineno = 0 self.subjcmdretried = 0 + self.respond = 1 # Always process the Subject: header first self.commands.append(msg.get('subject', '')) # Find the first text/plain part @@ -119,9 +120,12 @@ class Results: return handler.process(self, args) def send_response(self): + # Helper def indent(lines): return [' ' + line for line in lines] - + # Quick exit for some commands which don't need a response + if not self.respond: + return resp = [Utils.wrap(_("""\ The results of your email command are provided below. Attached is your original message. |
