From 55621d3fa339d3bd3c3c60747f2099cbe0815104 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 27 Nov 2009 02:30:52 +0000 Subject: [PATCH] In calc_depclean(), load the FakeVartree before using it. This fixes a regression which causes incomplete graph creation (since r14773). Thanks to Vlastimil Babka for reporting. svn path=/main/trunk/; revision=14899 --- pym/_emerge/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index b8ea72010..d14b6c3a1 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -595,7 +595,6 @@ def calc_depclean(settings, trees, ldpath_mtimes, myroot = settings["ROOT"] root_config = trees[myroot]["root_config"] psets = root_config.setconfig.psets - vardb = trees[myroot]["vartree"].dbapi deselect = myopts.get('--deselect') != 'n' required_set_stack = ["world"] @@ -647,6 +646,7 @@ def calc_depclean(settings, trees, ldpath_mtimes, writemsg_level("\nCalculating dependencies ") resolver_params = create_depgraph_params(myopts, "remove") resolver = depgraph(settings, trees, myopts, resolver_params, spinner) + resolver._load_vdb() vardb = resolver._frozen_config.trees[myroot]["vartree"].dbapi if action == "depclean": -- 2.26.2