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 1R117J-0003Nu-Dg for garchives@archives.gentoo.org; Tue, 06 Sep 2011 19:15:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A767B21C069; Tue, 6 Sep 2011 19:15:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 794B021C069 for ; Tue, 6 Sep 2011 19:15:21 +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 0502C1B4047 for ; Tue, 6 Sep 2011 19:15:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 64F8C80042 for ; Tue, 6 Sep 2011 19:15:20 +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: <4cb0e06b04d5dfa9c257decf9895365f975fb17c.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/__init__.py X-VCS-Directories: pym/portage/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 4cb0e06b04d5dfa9c257decf9895365f975fb17c Date: Tue, 6 Sep 2011 19:15:20 +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: e83136c839ae9a594234ab504c98d207 commit: 4cb0e06b04d5dfa9c257decf9895365f975fb17c Author: Zac Medico gentoo org> AuthorDate: Tue Sep 6 19:15:06 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Sep 6 19:15:06 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D4cb0e06b abssymlink: fix inverted logic from last commit --- pym/portage/__init__.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index d73ea6d..789d043 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -393,7 +393,7 @@ getcwd() =20 def abssymlink(symlink, target=3DNone): "This reads symlinks, resolving the relative symlinks, and returning th= e absolute." - if target is None: + if target is not None: mylink =3D target else: mylink =3D os.readlink(symlink)