summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-30 23:33:11 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-30 23:33:11 +0000
commit4ce72f93ef99d176fe0c24a9f9f4aace83de82d1 (patch)
tree50b7616be591609387b2e52d5af8ae5b57c44a34
parent8d1b3138238bcfe0c78e58efc47788e08cbb8a07 (diff)
downloadportage-4ce72f93ef99d176fe0c24a9f9f4aace83de82d1.tar.gz
portage-4ce72f93ef99d176fe0c24a9f9f4aace83de82d1.tar.bz2
portage-4ce72f93ef99d176fe0c24a9f9f4aace83de82d1.zip
Fix "args" set handling wrt $ROOT in depgraph._complete_graph().
svn path=/main/trunk/; revision=8344
-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