summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/Hold.py
diff options
context:
space:
mode:
authorBarry Warsaw2007-11-17 00:05:23 -0500
committerBarry Warsaw2007-11-17 00:05:23 -0500
commit12ace359ccceb507ac2e55c1333f63d3d92af6f7 (patch)
treea6e3d320a9fa32b13eb1199900ce4faaf2541a7b /Mailman/Handlers/Hold.py
parent58b8ca1c929c5bc0ea1b36fb5e6e683a8830e963 (diff)
downloadmailman-12ace359ccceb507ac2e55c1333f63d3d92af6f7.tar.gz
mailman-12ace359ccceb507ac2e55c1333f63d3d92af6f7.tar.zst
mailman-12ace359ccceb507ac2e55c1333f63d3d92af6f7.zip
Diffstat (limited to 'Mailman/Handlers/Hold.py')
-rw-r--r--Mailman/Handlers/Hold.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Mailman/Handlers/Hold.py b/Mailman/Handlers/Hold.py
index 2e6eeb4ad..bef1fa24f 100644
--- a/Mailman/Handlers/Hold.py
+++ b/Mailman/Handlers/Hold.py
@@ -253,8 +253,7 @@ def hold_for_approval(mlist, msg, msgdata, exc):
#
# This message should appear to come from <list>-admin so as to handle any
# bounce processing that might be needed.
- pendable = HeldMessagePendable(type=HeldMessagePendable.PEND_KEY,
- id=str(id))
+ pendable = HeldMessagePendable(type=HeldMessagePendable.PEND_KEY, id=id)
token = config.db.pendings.add(pendable)
# Get the language to send the response in. If the sender is a member,
# then send it in the member's language, otherwise send it in the mailing