From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RCRum-0006sD-AM for garchives@archives.gentoo.org; Sat, 08 Oct 2011 08:05:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BCBED21C051; Sat, 8 Oct 2011 08:05:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 87C1021C051 for ; Sat, 8 Oct 2011 08:05:40 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 062031B4013 for ; Sat, 8 Oct 2011 08:05:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 6B10380042 for ; Sat, 8 Oct 2011 08:05:39 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/mail.py X-VCS-Directories: pym/portage/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: e606fa6e8c23bff65618d73dfc19b8dd301460e1 Date: Sat, 8 Oct 2011 08:05:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: c153bd87cdee8dfa6d374e7606eda455 commit: e606fa6e8c23bff65618d73dfc19b8dd301460e1 Author: Zac Medico gentoo org> AuthorDate: Sat Oct 8 08:03:17 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Oct 8 08:03:17 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3De606fa6e portage/mail: always UTF-8 charset for MIMEText This will fix bug #386095. --- 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 17dfcaf..3fcadd2 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 =3D MIMEText(_text) - if sys.hexversion >=3D 0x3000000: - mimetext.set_charset("UTF-8") + mimetext.set_charset("UTF-8") return mimetext =20 def create_message(sender, recipient, subject, body, attachments=3DNone)= :