summaryrefslogtreecommitdiff
path: root/paste/exceptions
diff options
context:
space:
mode:
authorCyril Roelandt <cyril.roelandt@enovance.com>2014-03-18 11:42:36 +0100
committerCyril Roelandt <cyril.roelandt@enovance.com>2014-03-18 11:42:36 +0100
commit2bb7248207b347034685ae40699ba9a2747d73fa (patch)
tree46b98af20952e66a79287686986d865e1c8666c4 /paste/exceptions
parent7dd74ee170a7beae67810732ee403db89d67404f (diff)
downloadpaste-2bb7248207b347034685ae40699ba9a2747d73fa.tar.gz
Python 3: adjust import for email module, new path works with Python 2 and Python 3
Diffstat (limited to 'paste/exceptions')
-rw-r--r--paste/exceptions/reporter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/exceptions/reporter.py b/paste/exceptions/reporter.py
index 95e31ba..7c0c266 100644
--- a/paste/exceptions/reporter.py
+++ b/paste/exceptions/reporter.py
@@ -1,8 +1,8 @@
# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
-from email.MIMEText import MIMEText
-from email.MIMEMultipart import MIMEMultipart
+from email.mime.text import MIMEText
+from email.mime.multipart import MIMEMultipart
import smtplib
import time
try: