From: Zac Medico Date: Thu, 28 Jun 2007 09:01:17 +0000 (-0000) Subject: Don't colorize system package when in "world" mode. X-Git-Tag: v2.2_pre1~1124 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6606e39d6956e277a49533f45badae3b8358d3f8;p=portage.git Don't colorize system package when in "world" mode. svn path=/main/trunk/; revision=7076 --- diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 62ea9c907..8fbf994b2 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -2847,9 +2847,11 @@ class depgraph(object): world_nodes = self._sets_nodes.get("world") if world_nodes and pkg_node in world_nodes: pkg_world = True - system_nodes = self._sets_nodes.get("system") - if system_nodes and pkg_node in system_nodes: - pkg_system = True + if world_nodes is None: + # Don't colorize system package when in "world" mode. + system_nodes = self._sets_nodes.get("system") + if system_nodes and pkg_node in system_nodes: + pkg_system = True def pkgprint(pkg): if pkg_merge: