From 12155455f6afa9243c18077bdd064fceb428e56c Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sat, 25 Apr 2020 20:16:14 -0700 Subject: Workaround non-ascii in string.lowercase. --- Mailman/Archiver/pipermail.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Mailman/Archiver') diff --git a/Mailman/Archiver/pipermail.py b/Mailman/Archiver/pipermail.py index 62fb92e8..d0883a3f 100644 --- a/Mailman/Archiver/pipermail.py +++ b/Mailman/Archiver/pipermail.py @@ -12,6 +12,10 @@ import cPickle as pickle from cStringIO import StringIO from string import lowercase +# Work around for some misguided Python packages that add iso-8859-1 +# accented characters to string.lowercase. +lowercase = lowercase[:26] + __version__ = '0.09 (Mailman edition)' VERSION = __version__ CACHESIZE = 100 # Number of slots in the cache -- cgit v1.2.3