From f241cdb50b0f8a448216a1e5155dba8d0abddf56 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 5 Apr 2012 14:37:35 -0700 Subject: [PATCH] depgraph._complete_graph: fix for --root-deps --- pym/_emerge/depgraph.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index e9cb22b40..e77c0e82f 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -4329,7 +4329,8 @@ class depgraph(object): args = self._dynamic_config._initial_arg_list[:] for root in self._frozen_config.roots: if root != self._frozen_config.target_root and \ - "remove" in self._dynamic_config.myparams: + ("remove" in self._dynamic_config.myparams or + self._frozen_config.myopts.get("--root-deps") is not None): # Only pull in deps for the relevant root. continue depgraph_sets = self._dynamic_config.sets[root] -- 2.26.2