Fix "args" set handling wrt $ROOT in depgraph._complete_graph().
authorZac Medico <zmedico@gentoo.org>
Tue, 30 Oct 2007 23:33:11 +0000 (23:33 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 30 Oct 2007 23:33:11 +0000 (23:33 -0000)
svn path=/main/trunk/; revision=8344

pym/_emerge/__init__.py

index 28e52a7ef3f912c4a99cabc9c716ebb0b2ae2614..b488b19434982f7a18ee06aa18e753108e127682 100644 (file)
@@ -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