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 <gentoo-commits+bounces-407414-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RZSnl-0007eb-6x
	for garchives@archives.gentoo.org; Sat, 10 Dec 2011 19:41:41 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 454E621C175;
	Sat, 10 Dec 2011 19:41:31 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 18B8421C0C3
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Dec 2011 19:41:31 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5E17A1B4013
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Dec 2011 19:41:30 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id 7366180042
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Dec 2011 19:41:29 +0000 (UTC)
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" <zmedico@gentoo.org>
Message-ID: <8dfb0b16b1fb25012c3ec0189509af3048db562c.zmedico@gentoo>
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/util/
X-VCS-Repository: proj/portage
X-VCS-Files: pym/portage/util/movefile.py
X-VCS-Directories: pym/portage/util/
X-VCS-Committer: zmedico
X-VCS-Committer-Name: Zac Medico
X-VCS-Revision: 8dfb0b16b1fb25012c3ec0189509af3048db562c
Date: Sat, 10 Dec 2011 19:41:29 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 0c8b2c6b-2eb6-4d08-8e21-df17e7594092
X-Archives-Hash: de17390ebb028d33be46b7ad5220a70a

commit:     8dfb0b16b1fb25012c3ec0189509af3048db562c
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 10 19:41:07 2011 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 19:41:07 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a=
=3Dcommit;h=3D8dfb0b16

movefile.py: open /dev/null in binary mode

---
 pym/portage/util/movefile.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pym/portage/util/movefile.py b/pym/portage/util/movefile.py
index 89fa69c..476f8e7 100644
--- a/pym/portage/util/movefile.py
+++ b/pym/portage/util/movefile.py
@@ -50,7 +50,7 @@ else:
 				if raise_exception:
 					raise OperationNotSupported("Filesystem containing file '%s' does n=
ot support extended attributes" % dest)
 	else:
-		_devnull =3D open("/dev/null", "w")
+		_devnull =3D open("/dev/null", "wb")
 		try:
 			subprocess.call(["getfattr", "--version"], stdout=3D_devnull)
 			subprocess.call(["setfattr", "--version"], stdout=3D_devnull)