From: Zac Medico Date: Sat, 27 Nov 2010 07:42:12 +0000 (-0800) Subject: UseManager: make warnings show even with --quiet X-Git-Tag: v2.2.0_alpha6~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c2bd4f99202f9cd68a1c1033338feb1dfe261116;p=portage.git UseManager: make warnings show even with --quiet --- diff --git a/pym/portage/package/ebuild/_config/UseManager.py b/pym/portage/package/ebuild/_config/UseManager.py index 0939dadb3..ae87b2f0d 100644 --- a/pym/portage/package/ebuild/_config/UseManager.py +++ b/pym/portage/package/ebuild/_config/UseManager.py @@ -73,7 +73,8 @@ class UseManager(object): else: useflag = prefixed_useflag if useflag_re.match(useflag) is None: - writemsg(_("--- Invalid USE flag in '%s': '%s'\n") % (path, prefixed_useflag)) + writemsg(_("--- Invalid USE flag in '%s': '%s'\n") % \ + (path, prefixed_useflag), noiselevel=-1) else: profile_lines.append(prefixed_useflag) ret.append(tuple(profile_lines)) @@ -96,7 +97,8 @@ class UseManager(object): else: useflag = prefixed_useflag if useflag_re.match(useflag) is None: - writemsg(_("--- Invalid USE flag for '%s' in '%s': '%s'\n") % (k, path, prefixed_useflag)) + writemsg(_("--- Invalid USE flag for '%s' in '%s': '%s'\n") % \ + (k, path, prefixed_useflag), noiselevel=-1) else: useflags.append(prefixed_useflag) profile_dict.setdefault(k, []).extend(useflags)