From: Zac Medico Date: Mon, 30 Aug 2010 12:59:29 +0000 (-0700) Subject: Fix broken reference to real_vardb in calc_depclean() from 2 commits ago. X-Git-Tag: v2.2_rc73~43 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f71ffcf6a6f1dc51dc5016c7fd2b8fe89f1b18d;p=portage.git Fix broken reference to real_vardb in calc_depclean() from 2 commits ago. --- 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 = {}