+2008-03-19: Paul Varner <fuzzyray@gentoo.org>
+ * glsa-check: Fix imports so mail functionality in glsa-check works
+ with python versions less than 2.5 (Bug 211706)
+
2008-03-13: Paul Varner <fuzzyray@gentoo.org>
* euse: Add --info-installed option from patch provided by Andreas
Waidler. (Bug 212573)
import socket
from StringIO import StringIO
- from email.mime.text import MIMEText
-
+ try:
+ from email.mime.text import MIMEText
+ except ImportError:
+ from email.MIMEText import MIMEText
+
# color doesn't make any sense for mail
nocolor()