[yum-cvs] 2 commits - output.py

Seth Vidal skvidal at linux.duke.edu
Thu Aug 23 12:28:05 UTC 2007


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

New commits:
commit 15c5d0faa792a022c96c9aa0b9942efdc9e68254
Merge: eed1266... 0a97861...
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Thu Aug 23 08:26:39 2007 -0400

    Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum
    
    * 'master' of ssh://login.linux.duke.edu/home/groups/yum/git/yum:
      Reworked the processTransaction callback a little.

commit eed1266cc6652c627ff9f6b0c83097f01246436c
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Thu Aug 23 08:26:22 2007 -0400

    bug in cli output transacation callback.
    closes rh bug #253955

diff --git a/output.py b/output.py
index 095dd07..cf10fb2 100644
--- a/output.py
+++ b/output.py
@@ -482,7 +482,7 @@ class YumCliRPMCallBack(RPMBaseCallback):
         else:
             percent = (te_current*100L)/te_total
         
-        if self.output and (sys.stdout.isatty() or bytes == total):
+        if self.output and (sys.stdout.isatty() or te_current == te_total):
             fmt = self._makefmt(percent, ts_current, ts_total)
             msg = fmt % (process, pkgname)
             if msg != self.lastmsg:



More information about the Yum-cvs-commits mailing list