diff options
author | Paul Varner <fuzzyray@gentoo.org> | 2012-05-16 16:12:03 -0500 |
---|---|---|
committer | Paul Varner <fuzzyray@gentoo.org> | 2012-05-16 16:12:03 -0500 |
commit | df024db3a4573d89d11a59d0c05be7d4f3d7e143 (patch) | |
tree | 2218a7a23a5024aea2d3c5c647615c6239b7e798 /pym/gentoolkit/pprinter.py | |
parent | Fix Bug 414627, where not all packages were being printed. (diff) | |
download | gentoolkit-df024db3a4573d89d11a59d0c05be7d4f3d7e143.tar.gz gentoolkit-df024db3a4573d89d11a59d0c05be7d4f3d7e143.tar.bz2 gentoolkit-df024db3a4573d89d11a59d0c05be7d4f3d7e143.zip |
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.
Diffstat (limited to 'pym/gentoolkit/pprinter.py')
-rw-r--r-- | 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): def useflag(string, enabled=True): """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) def keyword(string, stable=True, hard_masked=False): """Returns a keyword string.""" |