From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SBvIu-0002e7-6D for garchives@archives.gentoo.org; Sun, 25 Mar 2012 21:48:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61B65E05B9; Sun, 25 Mar 2012 21:48:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2A7CFE05B9 for ; Sun, 25 Mar 2012 21:48:40 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 235C61B4048 for ; Sun, 25 Mar 2012 21:48:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id DB866E5402 for ; Sun, 25 Mar 2012 21:48:36 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1332712105.42ae47a871f674027147d3885a466c0a0effd998.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/actions.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 42ae47a871f674027147d3885a466c0a0effd998 X-VCS-Branch: master Date: Sun, 25 Mar 2012 21:48:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 365a113a-b527-438b-8212-e53f0458e64f X-Archives-Hash: 9ae719fab5f95666b6dd055cd1c2a8ae commit: 42ae47a871f674027147d3885a466c0a0effd998 Author: Zac Medico gentoo org> AuthorDate: Sun Mar 25 21:48:25 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun Mar 25 21:48:25 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D42ae47a8 emerge --sync: use yellow for portage update msg --- pym/_emerge/actions.py | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index cd3fd9f..e9d6bd6 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -1,4 +1,4 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 =20 from __future__ import print_function @@ -40,6 +40,7 @@ from portage.output import blue, bold, colorize, create= _color_func, darkgreen, \ red, yellow good =3D create_color_func("GOOD") bad =3D create_color_func("BAD") +warn =3D create_color_func("WARN") from portage.package.ebuild._ipc.QueryCommand import QueryCommand from portage.package.ebuild.doebuild import _check_temp_dir from portage._sets import load_default_config, SETPREFIX @@ -2510,10 +2511,10 @@ def action_sync(settings, trees, mtimedb, myopts,= myaction): =20 if(mybestpv !=3D mypvs) and not "--quiet" in myopts: print() - print(red(" * ")+bold("An update to portage is available.")+" It is _h= ighly_ recommended") - print(red(" * ")+"that you update portage now, before any other packag= es are updated.") + print(warn(" * ")+bold("An update to portage is available.")+" It is _= highly_ recommended") + print(warn(" * ")+"that you update portage now, before any other packa= ges are updated.") print() - print(red(" * ")+"To update portage, run 'emerge portage' now.") + print(warn(" * ")+"To update portage, run 'emerge portage' now.") print() =20 display_news_notification(root_config, myopts)