From: Zac Medico Date: Wed, 29 Jul 2009 07:04:41 +0000 (-0000) Subject: Account for $ROOT inside depgraph._show_missed_update_unsatisfied_dep(). X-Git-Tag: v2.2_rc34~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c9bc664886338a9ea58ef18e2d0ed14dd2616e4c;p=portage.git Account for $ROOT inside depgraph._show_missed_update_unsatisfied_dep(). svn path=/main/trunk/; revision=13854 --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 2418ca521..8a9c59d5c 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -325,9 +325,8 @@ class depgraph(object): write(str(pkg.slot_atom)) write("\n") - for parent, atom in parent_atoms: - # TODO: Account for which $ROOT the atom applies to. - self._show_unsatisfied_dep(parent.root, atom, myparent=parent) + for parent, root, atom in parent_atoms: + self._show_unsatisfied_dep(root, atom, myparent=parent) write("\n") sys.stderr.flush() @@ -719,7 +718,7 @@ class depgraph(object): if dep_pkg is None: self._dynamic_config._runtime_pkg_mask.setdefault( dep.parent, {})["missing dependency"] = \ - set([(dep.parent, dep.atom)]) + set([(dep.parent, dep.root, dep.atom)]) self._dynamic_config._need_restart = True return 0