From 8a21ae471b2fe833c8c42e1629f1645a0971a1ec Mon Sep 17 00:00:00 2001 From: hmeland Date: Fri, 4 Jun 1999 15:00:15 +0000 Subject: ParseMailCommands(): In the case that the maximum number of command lines is reached, inclusion of the rest of the original message was being truncated (and was using a strange line prefix). Fixed. --- Mailman/MailCommandHandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mailman/MailCommandHandler.py b/Mailman/MailCommandHandler.py index ec8fa7b17..db05fe746 100644 --- a/Mailman/MailCommandHandler.py +++ b/Mailman/MailCommandHandler.py @@ -158,8 +158,8 @@ class MailCommandHandler: if linecount > maxlines: self.AddError("Maximum command lines (%d) encountered," " ignoring the rest..." % maxlines) - self.AddToResponse("<<< " + string.join(lines[linecount:], - "\n<<< ")) + for line in lines[linecount:]: + self.AddToResponse("> " + line, trunc=0) break ## self.AddToResponse("\n>>>> %s" % line) args = string.split(line) -- cgit v1.3.1