Skip to content

Commit 8ff0e05

Browse files
committed
update
1 parent 7a2f05a commit 8ff0e05

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Mailman/Archiver/pipermail.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
import re
66
import sys
77
import time
8+
import string
89
from email.utils import parseaddr, parsedate_tz, mktime_tz, formatdate
910
import pickle
1011
from io import StringIO
1112

12-
# Work around for some misguided Python packages that add iso-8859-1
13-
# accented characters to string.lowercase.
14-
lowercase = lowercase[:26]
13+
# Use string.ascii_lowercase instead of the old lowercase variable
14+
lowercase = string.ascii_lowercase
1515

1616
__version__ = '0.09 (Mailman edition)'
1717
VERSION = __version__
@@ -26,7 +26,6 @@
2626
SPACE = ' '
2727

2828

29-
3029
msgid_pat = re.compile(r'(<.*>)')
3130
def strip_separators(s):
3231
"Remove quotes or parenthesization from a Message-ID string"

0 commit comments

Comments
 (0)