[yum-cvs] yum/rpmtrans.py

Seth Vidal skvidal at linux.duke.edu
Wed Oct 3 19:43:42 UTC 2007


 yum/rpmtrans.py |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit d79355fdf4b49c4c230f300d09fb4bbaa5558ee9
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Wed Oct 3 15:43:38 2007 -0400

    make the quasi-warning messages just go to the log and not bitch on the console

diff --git a/yum/rpmtrans.py b/yum/rpmtrans.py
index 1a9165b..fe293d1 100644
--- a/yum/rpmtrans.py
+++ b/yum/rpmtrans.py
@@ -220,7 +220,7 @@ class RPMTransaction:
         # some curveballs
         if len(self._te_tuples) == 0:
             msg = 'extra callback for package %s in state %d' % (package, action)
-            self.display.errorlog(msg)
+            self.display.filelog(msg)
             return
 
         (t,e,n,v,r,a) = self._te_tuples[0] # what we should be on
@@ -229,10 +229,10 @@ class RPMTransaction:
         msg = 'ts_done state is %s %s should be %s %s' % (package, action, t, n)
         if action in TS_REMOVE_STATES:
             if t != 'erase':
-                self.display.errorlog(msg)
+                self.display.filelog(msg)
         if action in TS_INSTALL_STATES:
             if t != 'install':
-                self.display.errorlog(msg)
+                self.display.filelog(msg)
                 
         # check the pkg name out to make sure it matches
         if type(package) in types.StringTypes:
@@ -242,7 +242,7 @@ class RPMTransaction:
         
         if n != name:
             msg = 'ts_done name in te is %s should be %s' % (n, package)
-            self.display.errorlog(msg)
+            self.display.filelog(msg)
 
         # hope springs eternal that this isn't wrong
         msg = '%s %s:%s-%s-%s.%s\n' % (t,e,n,v,r,a)



More information about the Yum-cvs-commits mailing list