diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-11-27 22:38:26 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-11-27 22:38:26 +0000 |
commit | 547543d7d0630f95c7241cac7f0824bc6fb4a0c2 (patch) | |
tree | d6aaacbc5fb73c66faa14301899519275776e1cb /pym/_emerge/actions.py | |
parent | ca79528f5ed4faccce4cce3fec8963f64a7d6b41 (diff) | |
download | portage-547543d7d0630f95c7241cac7f0824bc6fb4a0c2.tar.gz portage-547543d7d0630f95c7241cac7f0824bc6fb4a0c2.tar.bz2 portage-547543d7d0630f95c7241cac7f0824bc6fb4a0c2.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. (trunk r14899)
svn path=/main/branches/2.1.7/; revision=14904
Diffstat (limited to 'pym/_emerge/actions.py')
-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 a117985c4..eb777684c 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -598,7 +598,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"] @@ -654,6 +653,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": |