Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Commit

Permalink
framework: import MIMEText from the right module
Browse files Browse the repository at this point in the history
email.MIME* modules were renamed and situated into the email.mime
subpackage, see https://docs.python.org/2/library/email.html

Reported-by: Dirk Cummings <sexynaya2010@hotmail.com>
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1297111
  • Loading branch information
bachradsusi committed Jan 15, 2016
1 parent 271055e commit 407ca6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/src/setroubleshoot/email_alert.py
Expand Up @@ -23,9 +23,9 @@

import syslog
import re
from email.MIMEText import MIMEText
from email.MIMEMultipart import MIMEMultipart
from email.Utils import formatdate
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
from email.utils import formatdate

from setroubleshoot.config import get_config
from setroubleshoot.util import *
Expand Down

0 comments on commit 407ca6e

Please sign in to comment.