summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-30 05:59:29 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-30 05:59:29 -0700
commit3f71ffcf6a6f1dc51dc5016c7fd2b8fe89f1b18d (patch)
tree3e64532db26015cfcf98be79ccbdc119e08dad04
parent25d8427b3b29cbcee97279186983dae818495f8f (diff)
downloadportage-3f71ffcf6a6f1dc51dc5016c7fd2b8fe89f1b18d.tar.gz
portage-3f71ffcf6a6f1dc51dc5016c7fd2b8fe89f1b18d.tar.bz2
portage-3f71ffcf6a6f1dc51dc5016c7fd2b8fe89f1b18d.zip
Fix broken reference to real_vardb in calc_depclean() from 2 commits ago.
-rw-r--r--pym/_emerge/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 3c735aa2c..75f15f959 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -664,6 +664,7 @@ def calc_depclean(settings, trees, ldpath_mtimes,
resolver = depgraph(settings, trees, myopts, resolver_params, spinner)
resolver._load_vdb()
vardb = resolver._frozen_config.trees[myroot]["vartree"].dbapi
+ real_vardb = trees[myroot]["vartree"].dbapi
if action == "depclean":
@@ -888,7 +889,6 @@ def calc_depclean(settings, trees, ldpath_mtimes,
# Check if any of these package are the sole providers of libraries
# with consumers that have not been selected for removal. If so, these
# packages and any dependencies need to be added to the graph.
- real_vardb = trees[myroot]["vartree"].dbapi
linkmap = real_vardb._linkmap
consumer_cache = {}
provider_cache = {}