diff options
author | Mark Sapiro <mark@msapiro.net> | 2020-04-25 20:16:14 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2020-04-25 20:16:14 -0700 |
commit | 12155455f6afa9243c18077bdd064fceb428e56c (patch) | |
tree | f6c70e346d626cd9a562b9c74fdea84a1ad23bff /Mailman | |
parent | 8ec4dad9822f390a3e4a1fe7451ccc97f5a3d6de (diff) | |
download | mailman2-12155455f6afa9243c18077bdd064fceb428e56c.tar.gz mailman2-12155455f6afa9243c18077bdd064fceb428e56c.tar.xz mailman2-12155455f6afa9243c18077bdd064fceb428e56c.zip |
Workaround non-ascii in string.lowercase.
Diffstat (limited to 'Mailman')
-rw-r--r-- | Mailman/Archiver/pipermail.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 |