From 5ad0972315a2fb1eb3cfe81db9d5527082d9dc9f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 26 Nov 2010 23:42:12 -0800 Subject: UseManager: make warnings show even with --quiet --- pym/portage/package/ebuild/_config/UseManager.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pym') diff --git a/pym/portage/package/ebuild/_config/UseManager.py b/pym/portage/package/ebuild/_config/UseManager.py index 32157ee7d..735ee59fa 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) -- cgit v1.2.3-1-g7c22