Skip to content

Commit 839a2f0

Browse files
committed
email.*
1 parent 4190646 commit 839a2f0

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Mailman/Commands/cmd_subscribe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"""
2929

3030
from email.utils import parseaddr
31-
from email.Header import decode_header, make_header
31+
from email.header import decode_header, make_header
3232

3333
from Mailman import Utils
3434
from Mailman import Errors

Mailman/Handlers/SMTPDirect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242

4343
import email
4444
from email.utils import formataddr
45-
from email.Header import Header
46-
from email.Charset import Charset
45+
from email.header import Header
46+
from email.charset import Charset
4747

4848
DOT = '.'
4949

cron/checkdbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import getopt
3434
import paths
3535

3636
# Import this after paths so we get Mailman's copy of the email package
37-
from email.Charset import Charset
37+
from email.charset import Charset
3838

3939
from Mailman import mm_cfg
4040
from Mailman import Utils

0 commit comments

Comments
 (0)