From: Brian Dolbec Date: Mon, 31 Jan 2011 04:35:29 +0000 (-0800) Subject: fix a "*" being added for a stable pkg-ver X-Git-Tag: v2.2.0_alpha20~62 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=53a0fa1b88bbf529bb8875cb63db74dca628e648;p=portage.git fix a "*" being added for a stable pkg-ver --- diff --git a/pym/_emerge/resolver/output.py b/pym/_emerge/resolver/output.py index f2e2600ee..99930b28d 100644 --- a/pym/_emerge/resolver/output.py +++ b/pym/_emerge/resolver/output.py @@ -163,16 +163,17 @@ class Display(object): """ used_keyword = pkg.accepted_keyword() hardmasked = pkg.isHardMasked() + mask_str = " " if hardmasked: mask_str = colorize("BAD", "#") + elif not used_keyword: + pass elif used_keyword not in self.pkgsettings['ACCEPT_KEYWORDS'].split(): if used_keyword == "**": mask_str = colorize("BAD", "*") else: mask_str = colorize("WARN", "~") - else: - mask_str = " " return mask_str