diff options
| author | Aurélien Bompard | 2015-09-15 19:02:16 +0200 |
|---|---|---|
| committer | Barry Warsaw | 2015-09-23 20:49:12 -0400 |
| commit | eb322697bc6fdb16bd70492f6a1bea7b78424f4c (patch) | |
| tree | 769abed38078ea572b6355f66d6dd7186b47b174 /src/mailman/chains/hold.py | |
| parent | 6c75191a230474d51505ba3269f14b9093b35863 (diff) | |
| download | mailman-eb322697bc6fdb16bd70492f6a1bea7b78424f4c.tar.gz mailman-eb322697bc6fdb16bd70492f6a1bea7b78424f4c.tar.zst mailman-eb322697bc6fdb16bd70492f6a1bea7b78424f4c.zip | |
Diffstat (limited to 'src/mailman/chains/hold.py')
| -rw-r--r-- | src/mailman/chains/hold.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/chains/hold.py b/src/mailman/chains/hold.py index 0509655a2..70f6873f6 100644 --- a/src/mailman/chains/hold.py +++ b/src/mailman/chains/hold.py @@ -247,7 +247,7 @@ also appear in the first line of the body of the reply.""")), # Log the held message. Log messages are not translated, so recast # the reasons in the English. with _.using('en'): - reasons = _compose_reasons(msgdata) + reasons = msgdata.get('moderation_reasons', ['N/A']) log.info('HOLD: %s post from %s held, message-id=%s: %s', mlist.fqdn_listname, msg.sender, msg.get('message-id', 'n/a'), SEMISPACE.join(reasons)) |
