summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/search.py2
1 files changed, 1 insertions, 1 deletions
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)):