diff options
author | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-03-18 11:42:36 +0100 |
---|---|---|
committer | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-03-18 11:42:36 +0100 |
commit | 2bb7248207b347034685ae40699ba9a2747d73fa (patch) | |
tree | 46b98af20952e66a79287686986d865e1c8666c4 /paste/exceptions | |
parent | 7dd74ee170a7beae67810732ee403db89d67404f (diff) | |
download | paste-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.py | 4 |
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: |