summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 28e52a7ef..b488b1943 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -2349,7 +2349,8 @@ class depgraph(object):
required_set_atoms = set()
for s in required_set_names:
if s == "args":
- required_set_atoms.update(self._sets["args"])
+ if root == self.target_root:
+ required_set_atoms.update(self._sets["args"])
else:
required_set_atoms.update(setconfig.getSetAtoms(s))
vardb = self.roots[root].trees["vartree"].dbapi