summaryrefslogtreecommitdiff
path: root/Mailman
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Archiver/HyperArch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py
index d8c2f2309..be72562d7 100644
--- a/Mailman/Archiver/HyperArch.py
+++ b/Mailman/Archiver/HyperArch.py
@@ -386,10 +386,10 @@ class Article(pipermail.Article):
mustunicode = 1
break
if mustunicode:
- # Use a large number for maxlinelen so it won't get wrapped
- h = make_header(pairs, 99999)
# Use __unicode__() until we can guarantee Python 2.2
try:
+ # Use a large number for maxlinelen so it won't get wrapped
+ h = make_header(pairs, 99999)
return h.__unicode__(), None
except (UnicodeError, LookupError):
# Unknown encoding