public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r14899 - main/trunk/pym/_emerge
@ 2009-11-27  2:30 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-11-27  2:30 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2009-11-27 02:30:52 +0000 (Fri, 27 Nov 2009)
New Revision: 14899

Modified:
   main/trunk/pym/_emerge/actions.py
Log:
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.


Modified: main/trunk/pym/_emerge/actions.py
===================================================================
--- main/trunk/pym/_emerge/actions.py	2009-11-27 02:22:08 UTC (rev 14898)
+++ main/trunk/pym/_emerge/actions.py	2009-11-27 02:30:52 UTC (rev 14899)
@@ -595,7 +595,6 @@
 	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 @@
 	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":




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-27  2:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-27  2:30 [gentoo-commits] portage r14899 - main/trunk/pym/_emerge Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox