summaryrefslogtreecommitdiffstats
path: root/Lib/logging/handlers.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-01-22 19:40:21 (GMT)
committerGeorg Brandl <georg@python.org>2007-01-22 19:40:21 (GMT)
commit5a096e1b100603f5537eca5124be17abacf17743 (patch)
tree10a2dbb602c07dff33dfbf19de1a7c91670175ef /Lib/logging/handlers.py
parentdd7b0525e902ee12a612611ea082e12f5999c823 (diff)
downloadcpython-5a096e1b100603f5537eca5124be17abacf17743.zip
cpython-5a096e1b100603f5537eca5124be17abacf17743.tar.gz
cpython-5a096e1b100603f5537eca5124be17abacf17743.tar.bz2
Use new email module names (#1637162, #1637159, #1637157).
Diffstat (limited to 'Lib/logging/handlers.py')
-rw-r--r--Lib/logging/handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py
index ed0b1e8..f877c15 100644
--- a/Lib/logging/handlers.py
+++ b/Lib/logging/handlers.py
@@ -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