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.
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."""