summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 = {}