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 1SUlc8-0003hO-NW for garchives@archives.gentoo.org; Wed, 16 May 2012 21:18:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5ADEE0B6A; Wed, 16 May 2012 21:18:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7CFF0E0B6A for ; Wed, 16 May 2012 21:18:17 +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 BB9251B4033 for ; Wed, 16 May 2012 21:18:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 83B0EE5429 for ; Wed, 16 May 2012 21:18:15 +0000 (UTC) From: "Paul Varner" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Paul Varner" Message-ID: <1337202723.df024db3a4573d89d11a59d0c05be7d4f3d7e143.fuzzyray@gentoo> Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/pprinter.py X-VCS-Directories: pym/gentoolkit/ X-VCS-Committer: fuzzyray X-VCS-Committer-Name: Paul Varner X-VCS-Revision: df024db3a4573d89d11a59d0c05be7d4f3d7e143 X-VCS-Branch: gentoolkit Date: Wed, 16 May 2012 21:18:15 +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: 06d77265-c32d-4cd7-962f-9c3338503bd2 X-Archives-Hash: 5453a20678dd59103eacc8893208aeb6 commit: df024db3a4573d89d11a59d0c05be7d4f3d7e143 Author: Paul Varner gentoo org> AuthorDate: Wed May 16 21:12:03 2012 +0000 Commit: Paul Varner gentoo org> CommitDate: Wed May 16 21:12:03 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoolkit.gi= t;a=3Dcommit;h=3Ddf024db3 Make colors for useflags be the same as portage. The current colors are the opposite of how portage uses the colors. This just switches them so portage and equery show the same color for the same meaning, Red is a set useflag and blue is an unset useflag. Note: This ignores any user defined colormaps in portage. --- pym/gentoolkit/pprinter.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pym/gentoolkit/pprinter.py b/pym/gentoolkit/pprinter.py index d9f0375..7d8dc2c 100644 --- a/pym/gentoolkit/pprinter.py +++ b/pym/gentoolkit/pprinter.py @@ -116,7 +116,7 @@ def subsection(string): =20 def useflag(string, enabled=3DTrue): """Returns a USE flag string.""" - return output.blue(string) if enabled else output.red(string) + return output.red(string) if enabled else output.blue(string) =20 def keyword(string, stable=3DTrue, hard_masked=3DFalse): """Returns a keyword string."""