From: Zac Medico Date: Thu, 22 Dec 2011 00:44:37 +0000 (-0800) Subject: search.py: use _aux_cache_keys more X-Git-Tag: v2.2.0_alpha82~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0cb2523bca051aa06e73169d647d2ad3278fa25f;p=portage.git search.py: use _aux_cache_keys more This helps to avoid triggering the environment.bz2 extraction in vardbapi.aux_get(). --- diff --git a/pym/_emerge/search.py b/pym/_emerge/search.py index acfcfd035..5abc8a00c 100644 --- a/pym/_emerge/search.py +++ b/pym/_emerge/search.py @@ -151,7 +151,7 @@ class search(object): if not result or cpv == portage.best([cpv, result]): result = cpv else: - db_keys = Package.metadata_keys + db_keys = 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)):