diff options
-rw-r--r-- | pym/portage/mail.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/portage/mail.py b/pym/portage/mail.py index 17dfcafd0..3fcadd27b 100644 --- a/pym/portage/mail.py +++ b/pym/portage/mail.py @@ -40,8 +40,7 @@ else: def TextMessage(_text): from email.mime.text import MIMEText mimetext = MIMEText(_text) - if sys.hexversion >= 0x3000000: - mimetext.set_charset("UTF-8") + mimetext.set_charset("UTF-8") return mimetext def create_message(sender, recipient, subject, body, attachments=None): |