[Yum-devel] [PATCH] repoquery: silence!
Bill Nottingham
notting at redhat.com
Fri Oct 19 20:32:31 UTC 2007
1) it's not really an *error* message
2) if we asked for quiet, honor it
Bill
-------------- next part --------------
diff --git a/repoquery.py b/repoquery.py
index 835f6a8..e7cdd31 100755
--- a/repoquery.py
+++ b/repoquery.py
@@ -757,7 +757,8 @@ def main(args):
if opts.cache:
repoq.conf.cache = True
- repoq.logger.error('Running from cache, results might be incomplete.')
+ if not opts.quiet:
+ repoq.logger.info('Running from cache, results might be incomplete.')
if opts.show_dupes:
More information about the Yum-devel
mailing list