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 | 93f55f5b01b0435f0a027dd264467a3901db8dcc (patch) | |
tree | 46b98af20952e66a79287686986d865e1c8666c4 | |
parent | 0c9afb1c8db0dd01d98277d5fef72245e24ad635 (diff) | |
download | paste-git-93f55f5b01b0435f0a027dd264467a3901db8dcc.tar.gz |
Python 3: adjust import for email module, new path works with Python 2 and Python 3
-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: |