diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-11-27 02:30:52 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-11-27 02:30:52 +0000 |
commit | 55621d3fa339d3bd3c3c60747f2099cbe0815104 (patch) | |
tree | f706538af792ccbf7e75e7c8576a5b9314fb6e5c | |
parent | f5d99ea8e2e07cdf3b7c37703034db035f68b5cb (diff) | |
download | portage-55621d3fa339d3bd3c3c60747f2099cbe0815104.tar.gz portage-55621d3fa339d3bd3c3c60747f2099cbe0815104.tar.bz2 portage-55621d3fa339d3bd3c3c60747f2099cbe0815104.zip |
In calc_depclean(), load the FakeVartree before using it. This fixes
a regression which causes incomplete graph creation (since r14773).
Thanks to Vlastimil Babka <caster@g.o> for reporting.
svn path=/main/trunk/; revision=14899
-rw-r--r-- | pym/_emerge/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
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": |