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 1QPnr6-00072B-6q for garchives@archives.gentoo.org; Fri, 27 May 2011 03:36:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CFB61C004; Fri, 27 May 2011 03:36:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 171F51C004 for ; Fri, 27 May 2011 03:36:47 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6B81E1B400D for ; Fri, 27 May 2011 03:36:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 8D5A080505 for ; Fri, 27 May 2011 03:36:45 +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: <9d407e3722896d7d4b967bf59e7a1e885684ee89.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:2.1.9 commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/AsynchronousLock.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 9d407e3722896d7d4b967bf59e7a1e885684ee89 Date: Fri, 27 May 2011 03:36:45 +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: a2e15d5e8d9cd880ba3e18106d453304 commit: 9d407e3722896d7d4b967bf59e7a1e885684ee89 Author: Zac Medico gentoo org> AuthorDate: Fri May 27 03:28:54 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Fri May 27 03:36:25 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D9d407e37 _LockProcess: fix _poll returncode We don't want to return the returncode directly from the subprocess. Return self.returncode instead. --- pym/_emerge/AsynchronousLock.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pym/_emerge/AsynchronousLock.py b/pym/_emerge/AsynchronousLo= ck.py index ec02364..637ba73 100644 --- a/pym/_emerge/AsynchronousLock.py +++ b/pym/_emerge/AsynchronousLock.py @@ -239,7 +239,7 @@ class _LockProcess(AbstractPollTask): =20 def _poll(self): if self._proc is not None: - return self._proc.poll() + self._proc.poll() return self.returncode =20 def _wait(self):