summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-11-18 13:39:18 +0000
committerZac Medico <zmedico@gentoo.org>2006-11-18 13:39:18 +0000
commit9701443e2860346e90f820d41ff176a73674cd04 (patch)
tree403cec99668d0347a9a633112ed413f9b9945cf7
parent221fcbcdb9a33081269f0ecdf6428b67705f029b (diff)
downloadportage-9701443e2860346e90f820d41ff176a73674cd04.tar.gz
portage-9701443e2860346e90f820d41ff176a73674cd04.tar.bz2
portage-9701443e2860346e90f820d41ff176a73674cd04.zip
Use fake_vardb for cached aux_get calls.
svn path=/main/trunk/; revision=5086
-rwxr-xr-xbin/emerge3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge
index ae2c7a06e..6417ff971 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -3914,8 +3914,7 @@ def action_depclean(settings, trees, ldpath_mtimes,
continue
spinner.update()
fakedb.cpv_inject(pkg)
- mydb = portdb.xmatch("match-visible", "="+pkg) and portdb or vardb
- myaux = dict(zip(aux_keys, mydb.aux_get(pkg, aux_keys)))
+ myaux = dict(zip(aux_keys, fake_vardb.aux_get(pkg, aux_keys)))
mydeps = []
if myopts.get("--with-bdeps", "y") == "y":
mydeps.append((myaux["DEPEND"], soft))