aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers/Approve.py
diff options
context:
space:
mode:
authormsapiro <>2005-11-13 02:41:02 +0000
committermsapiro <>2005-11-13 02:41:02 +0000
commiteca21be87f1dd2f0504f44f3e7392861b2fd986b (patch)
tree7a31f98c61470757b81a817eb2c93bb0fb7ef872 /Mailman/Handlers/Approve.py
parentd88bad2fc44b24b5fb7e0c6a8076629b6e492e4d (diff)
downloadmailman2-eca21be87f1dd2f0504f44f3e7392861b2fd986b.tar.gz
mailman2-eca21be87f1dd2f0504f44f3e7392861b2fd986b.tar.xz
mailman2-eca21be87f1dd2f0504f44f3e7392861b2fd986b.zip
Don't delete line following first body line Approve(d)
Diffstat (limited to 'Mailman/Handlers/Approve.py')
-rw-r--r--Mailman/Handlers/Approve.py2
1 files changed, 1 insertions, 1 deletions
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):