Index: glsa-check =================================================================== --- glsa-check (revision 475) +++ glsa-check (working copy) @@ -313,8 +313,11 @@ import socket from StringIO import StringIO - from email.mime.text import MIMEText - + try: + from email.mime.text import MIMEText + except ImportError: + from email import MIMEText + # color doesn't make any sense for mail nocolor()