[yum-commits] Branch 'yum-3_2_X' - output.py

James Antill james at osuosl.org
Tue Oct 14 13:49:56 UTC 2008


 output.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8451f08f6fc5ac9bca69ee3ab76622e3044adc42
Author: James Antill <james at and.org>
Date:   Tue Oct 14 09:49:48 2008 -0400

    Don't output progress for rpm callbacks when in -e 0 -d 0

diff --git a/output.py b/output.py
index 047576e..cb9d1b9 100644
--- a/output.py
+++ b/output.py
@@ -1041,7 +1041,7 @@ class YumCliRPMCallBack(RPMBaseCallback):
         RPMBaseCallback.__init__(self)
         self.lastmsg = None
         self.lastpackage = None # name of last package we looked at
-        self.output = True
+        self.output = logging.getLogger("yum.verbose.cli").isEnabledFor(logginglevels.INFO_2)
         
         # for a progress bar
         self.mark = "#"


More information about the Yum-commits mailing list