--- /usr/bin/glsa-check 2008-02-28 03:24:29.000000000 +0200 +++ glsa-check 2008-04-08 15:32:44.000000000 +0300 @@ -308,7 +308,10 @@ if mode == "mail": import portage_mail, socket from StringIO import StringIO - from email.mime.text import MIMEText + if sys.hexversion >= 0x020500F0: + from email.mime.text import MIMEText + else: + from email import MIMEText # color doesn't make any sense for mail nocolor()