mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
parent
dd7b0525e9
commit
5a096e1b10
6 changed files with 28 additions and 28 deletions
|
|
@ -778,7 +778,7 @@ class SMTPHandler(logging.Handler):
|
|||
try:
|
||||
import smtplib
|
||||
try:
|
||||
from email.Utils import formatdate
|
||||
from email.utils import formatdate
|
||||
except ImportError:
|
||||
formatdate = self.date_time
|
||||
port = self.mailport
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue