--- /usr/bin/glsa-check 2008-04-15 18:05:20.000000000 +0300 +++ /home/alip/tmp/glsa-check 2008-04-20 10:13:03.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 >= 0x02050000: + from email.mime.text import MIMEText + else: + from email import MIMEText # color doesn't make any sense for mail nocolor()