From eca21be87f1dd2f0504f44f3e7392861b2fd986b Mon Sep 17 00:00:00 2001 From: msapiro <> Date: Sun, 13 Nov 2005 02:41:02 +0000 Subject: Don't delete line following first body line Approve(d) --- Mailman/Handlers/Approve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman') diff --git a/Mailman/Handlers/Approve.py b/Mailman/Handlers/Approve.py index 633b9169..483ac21c 100644 --- a/Mailman/Handlers/Approve.py +++ b/Mailman/Handlers/Approve.py @@ -68,7 +68,7 @@ def process(mlist, msg, msgdata): # Now strip the first line from the payload so the # password doesn't leak. del lines[lineno] - part.set_payload(NL.join(lines[1:])) + part.set_payload(NL.join(lines[0:])) if passwd is not missing and mlist.Authenticate((mm_cfg.AuthListModerator, mm_cfg.AuthListAdmin), passwd): -- cgit v1.2.3