Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r11691 - main/trunk/pym/_emerge
Date: Tue, 14 Oct 2008 21:37:57
Message-Id: E1KpraU-0007Bo-M8@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-10-14 21:37:53 +0000 (Tue, 14 Oct 2008)
3 New Revision: 11691
4
5 Modified:
6 main/trunk/pym/_emerge/__init__.py
7 Log:
8 Bug #241366 - Only suggest to run `emaint --check world` when the atom is
9 a direct member of the world set (rather than from a nested set).
10
11
12 Modified: main/trunk/pym/_emerge/__init__.py
13 ===================================================================
14 --- main/trunk/pym/_emerge/__init__.py 2008-10-14 21:05:54 UTC (rev 11690)
15 +++ main/trunk/pym/_emerge/__init__.py 2008-10-14 21:37:53 UTC (rev 11691)
16 @@ -7560,8 +7560,11 @@
17 if self._missing_args:
18 world_problems = False
19 if "world" in self._sets:
20 + # Filter out indirect members of world (from nested sets)
21 + # since only direct members of world are desired here.
22 + world_set = self.roots[self.target_root].sets["world"]
23 for arg, atom in self._missing_args:
24 - if arg.name == "world":
25 + if arg.name == "world" and atom in world_set:
26 world_problems = True
27 break