From b75ecf55c8aff5ac75df4d0b47b4e25de201ff35 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Tue, 19 Nov 2002 01:06:07 +0000 Subject: hold_for_approval(): "rejection-notice" (i.e. the dash) doesn't play nice when METADATA_FORMAT = METAFMT_ASCII. This is part of patch #567288 by Maximillian Dornseif. --- Mailman/Handlers/Hold.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/Handlers/Hold.py') diff --git a/Mailman/Handlers/Hold.py b/Mailman/Handlers/Hold.py index 102e89510..b81c55306 100644 --- a/Mailman/Handlers/Hold.py +++ b/Mailman/Handlers/Hold.py @@ -203,7 +203,7 @@ def hold_for_approval(mlist, msg, msgdata, exc): # We need to send both the reason and the rejection notice through the # translator again, because of the games we play above reason = Utils.wrap(exc.reason_notice()) - msgdata['rejection-notice'] = Utils.wrap(exc.rejection_notice(mlist)) + msgdata['rejection_notice'] = Utils.wrap(exc.rejection_notice(mlist)) id = mlist.HoldMessage(msg, reason, msgdata) # Now we need to craft and send a message to the list admin so they can # deal with the held message. -- cgit v1.2.3-70-g09d2