[yum-commits] yum/__init__.py

James Antill james at osuosl.org
Tue Sep 18 13:59:19 UTC 2012


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

New commits:
commit 03ce830d607463d2f17e16f06635baabfa2a6739
Author: James Antill <james at and.org>
Date:   Tue Sep 18 09:59:05 2012 -0400

    Set ignorenewrpm to True, not False, to get it to ignore. BZ 858205.

diff --git a/yum/__init__.py b/yum/__init__.py
index 8dbe5e5..d4fa9af 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -6491,7 +6491,7 @@ much more problems).
                     if not ignoremissing:
                         raise Errors.YumBaseError(msg)
                     else:
-                        ignorenewrpm = False
+                        ignorenewrpm = True
                         self.logger.critical(msg)
                 else:
                     pkgcount += 1
@@ -6568,7 +6568,7 @@ much more problems).
         if pkgprob:
             msg = _("Transaction members, relations are missing or ts has been modified,")
             if ignoremissing:
-                ignorenewrpm = False
+                ignorenewrpm = True
                 msg += _(" ignoring, as requested. You must redepsolve!")
                 self.logger.critical(msg)
             else:


More information about the Yum-commits mailing list