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-411362-garchives=archives.gentoo.org@lists.gentoo.org>) id 1RdWmG-0005wz-GV for garchives@archives.gentoo.org; Thu, 22 Dec 2011 00:44:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FA7121C06E; Thu, 22 Dec 2011 00:44:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CD4D821C06E for <gentoo-commits@lists.gentoo.org>; Thu, 22 Dec 2011 00:44:48 +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 4DE6E1B4011 for <gentoo-commits@lists.gentoo.org>; Thu, 22 Dec 2011 00:44:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 8411980042 for <gentoo-commits@lists.gentoo.org>; Thu, 22 Dec 2011 00:44:47 +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: <0cb2523bca051aa06e73169d647d2ad3278fa25f.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/search.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 0cb2523bca051aa06e73169d647d2ad3278fa25f Date: Thu, 22 Dec 2011 00:44:47 +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: 1af8c80e-1340-4237-9bb2-6c41befa2a7c X-Archives-Hash: e6d2b93ece5b920d96a68d03d10fbbc5 commit: 0cb2523bca051aa06e73169d647d2ad3278fa25f Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Thu Dec 22 00:44:37 2011 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Thu Dec 22 00:44:37 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D0cb2523b search.py: use _aux_cache_keys more This helps to avoid triggering the environment.bz2 extraction in vardbapi.aux_get(). --- pym/_emerge/search.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pym/_emerge/search.py b/pym/_emerge/search.py index acfcfd0..5abc8a0 100644 --- a/pym/_emerge/search.py +++ b/pym/_emerge/search.py @@ -151,7 +151,7 @@ class search(object): if not result or cpv =3D=3D portage.best([cpv, result]): result =3D cpv else: - db_keys =3D Package.metadata_keys + db_keys =3D list(db._aux_cache_keys) # break out of this loop with highest visible # match, checked in descending order for cpv in reversed(db.match(atom)):