aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Bouncer.py
diff options
context:
space:
mode:
authortkikuchi <>2004-09-20 12:20:43 +0000
committertkikuchi <>2004-09-20 12:20:43 +0000
commit291039710c75da2faceb550ac9c06aca548a9e5a (patch)
tree9eb9757035e2cf57e4286618596d6b968f4748b2 /Mailman/Bouncer.py
parente47f4472576cc7b84dcd07e50f8b080e376f24cf (diff)
downloadmailman2-291039710c75da2faceb550ac9c06aca548a9e5a.tar.gz
mailman2-291039710c75da2faceb550ac9c06aca548a9e5a.tar.xz
mailman2-291039710c75da2faceb550ac9c06aca548a9e5a.zip
Use Utils.oneline() where applicable.
Closing [ 1003070 ] Decode original subject in post acknowledgement by Soji IKEDA Modified Files: Tag: Release_2_1-maint Mailman/Bouncer.py Mailman/Handlers/Acknowledge.py
Diffstat (limited to '')
-rw-r--r--Mailman/Bouncer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mailman/Bouncer.py b/Mailman/Bouncer.py
index 588e91b1..9f786eb4 100644
--- a/Mailman/Bouncer.py
+++ b/Mailman/Bouncer.py
@@ -268,6 +268,8 @@ class Bouncer:
# provided in the exception argument.
sender = msg.get_sender()
subject = msg.get('subject', _('(no subject)'))
+ subject = Utils.oneline(subject,
+ Utils.GetCharSet(self.preferred_language))
if e is None:
notice = _('[No bounce details are available]')
else: