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 1RKEkH-0003zx-6a for garchives@archives.gentoo.org; Sat, 29 Oct 2011 19:39:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D937721C06E; Sat, 29 Oct 2011 19:39:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A55D921C06E for ; Sat, 29 Oct 2011 19:39:01 +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 6ED761B401E for ; Sat, 29 Oct 2011 19:39:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id D96B280042 for ; Sat, 29 Oct 2011 19:38:59 +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: <0e3c7e33f3fe0ce593d6c40984db15f42fabd7f3.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/egencache X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 0e3c7e33f3fe0ce593d6c40984db15f42fabd7f3 Date: Sat, 29 Oct 2011 19:38:59 +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: dea8c160c6af108ad4f63ab3994d8fdf commit: 0e3c7e33f3fe0ce593d6c40984db15f42fabd7f3 Author: Zac Medico gentoo org> AuthorDate: Sat Oct 29 19:38:51 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Oct 29 19:38:51 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D0e3c7e33 egencache: ensure correct porttrees The GenCache class assumes that portdb.porttrees[0] is the desired tree, so assert that it is true. The behavior should have already been correct, since PORTDIR_OVERLAY was already set to an empty string when necessary. --- bin/egencache | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/bin/egencache b/bin/egencache index 01eadf0..22ce8ec 100755 --- a/bin/egencache +++ b/bin/egencache @@ -864,6 +864,8 @@ def egencache_main(args): =20 # Limit ebuilds to the specified repo. portdb.porttrees =3D [repo_path] + else: + portdb.porttrees =3D [portdb.porttree_root] =20 ret =3D [os.EX_OK] =20