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 1QJ9lD-0001wv-SA for garchives@archives.gentoo.org; Sun, 08 May 2011 19:35:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8437AE039A; Sun, 8 May 2011 19:35:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4F1D7E039A for ; Sun, 8 May 2011 19:35:16 +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 A86141B4063 for ; Sun, 8 May 2011 19:35:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C356F45B2A for ; Sun, 8 May 2011 19:35:14 +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/dbapi/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/dbapi/vartree.py X-VCS-Directories: pym/portage/dbapi/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: f2091f05a0a5bf495098fcb58ea6912732c1c5a6 Date: Sun, 8 May 2011 19:35:14 +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: 14895820ef2dafdd43e464399b6dcf4d commit: f2091f05a0a5bf495098fcb58ea6912732c1c5a6 Author: Zac Medico gentoo org> AuthorDate: Sun May 8 19:31:07 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun May 8 19:31:07 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Df2091f05 treewalk: always initialize "needed" --- pym/portage/dbapi/vartree.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index a4a4203..28b67f0 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -3324,9 +3324,9 @@ class dblink(object): linkmap =3D self.vartree.dbapi._linkmap plib_registry =3D self.vartree.dbapi._plib_registry include_file =3D None - if linkmap is None or plib_registry is None: - preserve_paths =3D None - else: + preserve_paths =3D None + needed =3D None + if not (linkmap is None or plib_registry is None): plib_registry.lock() try: plib_registry.load()