aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers/ToDigest.py
diff options
context:
space:
mode:
authortkikuchi <>2005-11-19 03:05:22 +0000
committertkikuchi <>2005-11-19 03:05:22 +0000
commit224d6799d7fc61c97f4c1b061f9e60af119c7f70 (patch)
treebc9e03ef113517482c8b25b8a42c463f55f8d67f /Mailman/Handlers/ToDigest.py
parente5f82163fc13181c1e1423ffe9161e029591fb5f (diff)
downloadmailman2-224d6799d7fc61c97f4c1b061f9e60af119c7f70.tar.gz
mailman2-224d6799d7fc61c97f4c1b061f9e60af119c7f70.tar.xz
mailman2-224d6799d7fc61c97f4c1b061f9e60af119c7f70.zip
SF patch # 1246003
Diffstat (limited to '')
-rw-r--r--Mailman/Handlers/ToDigest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/ToDigest.py b/Mailman/Handlers/ToDigest.py
index 0e4bb94d..cd96b5a6 100644
--- a/Mailman/Handlers/ToDigest.py
+++ b/Mailman/Handlers/ToDigest.py
@@ -341,7 +341,7 @@ def send_i18n_digests(mlist, mboxfp):
try:
payload = unicode(payload, mcset, 'replace'
).encode(lcset, 'replace')
- except LookupError:
+ except (UnicodeError, LookupError):
# TK: Message has something unknown charset.
# _out means charset in 'outer world'.
payload = unicode(payload, lcset_out, 'replace'