[yum-cvs] yum/__init__.py

Tim Lauridsen timlau at linux.duke.edu
Wed Jan 9 13:21:07 UTC 2008


 yum/__init__.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 740ca8554fcb25c242b51978ebdc930fa0e86016
Author: Tim Lauridsen <tim at naboo.local>
Date:   Wed Jan 9 14:18:46 2008 +0100

    Only print skip messages for the available packages and add info about repo

diff --git a/yum/__init__.py b/yum/__init__.py
index b2da979..8489562 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -611,9 +611,9 @@ class YumBase(depsolve.Depsolve):
             if toRemove:
                 for po in toRemove:
                     if self.tsInfo.exists(po.pkgtup):
-                        self.verbose_logger.info("skipping %s because of depsolving problems" % str(po))
                         self.tsInfo.remove(po.pkgtup)
                         if not po.repoid == 'installed': # Only remove non installed packages from pkgSack
+                            self.verbose_logger.info("skipping %s from %s because of depsolving problems" % (str(po),po.repoid))
                             self.pkgSack.delPackage(po)
             else: # Nothing was removed, so we still got a problem
                 break # Bail out



More information about the Yum-cvs-commits mailing list