diff --git a/repoquery.py b/repoquery.py
index 1c69899..3aa1834 100755
--- a/repoquery.py
+++ b/repoquery.py
@@ -650,7 +650,7 @@ def main(args):
         repoq.doConfigSetup(debuglevel=initnoise)
         
     # Show what is going on, if --quiet is not set.
-    if not opts.quiet:
+    if not opts.quiet and sys.stdout.isatty():
         repoq.repos.setProgressBar(TextMeter(fo=sys.stdout))
         repoq.repos.callback = output.CacheProgressCallback()
         yumout = output.YumOutput()
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to