From: Zac Medico Date: Tue, 14 Oct 2008 21:37:53 +0000 (-0000) Subject: Bug #241366 - Only suggest to run `emaint --check world` when the atom is X-Git-Tag: v2.2_rc13~87 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9b4fe57cc01c4654cb07888d983c60fe6567529a;p=portage.git Bug #241366 - Only suggest to run `emaint --check world` when the atom is a direct member of the world set (rather than from a nested set). svn path=/main/trunk/; revision=11691 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index a098e57d6..03ee50eca 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -7560,8 +7560,11 @@ class depgraph(object): if self._missing_args: world_problems = False if "world" in self._sets: + # Filter out indirect members of world (from nested sets) + # since only direct members of world are desired here. + world_set = self.roots[self.target_root].sets["world"] for arg, atom in self._missing_args: - if arg.name == "world": + if arg.name == "world" and atom in world_set: world_problems = True break