Use new email module names (#1637162, #1637159, #1637157).

This commit is contained in:
Georg Brandl 2007-01-22 19:40:21 +00:00
parent dd7b0525e9
commit 5a096e1b10
6 changed files with 28 additions and 28 deletions

View file

@ -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