|
|
if mode == "mail": | if mode == "mail": |
import portage_mail, socket | import portage_mail, socket |
from StringIO import StringIO | 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 | # color doesn't make any sense for mail |
nocolor() | nocolor() |