[yum-commits] yum/__init__.py

James Antill james at osuosl.org
Tue Jun 18 19:48:18 UTC 2013


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

New commits:
commit b9feea2dd11799121b15ef48be2182cb42013d4f
Author: James Antill <james at and.org>
Date:   Tue Jun 18 15:47:46 2013 -0400

    Skip installonly limit, if something has set check_future_rpmdbv. BZ 962757.

diff --git a/yum/__init__.py b/yum/__init__.py
index 4833a6e..9b082c1 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -6272,6 +6272,10 @@ much more problems).
 
         if self.conf.installonly_limit < 1 :
             return 
+
+        # We shouldn't alter the transaction if this is set...
+        if self.tsInfo._check_future_rpmdbv:
+            return
             
         toremove = []
         #  We "probably" want to use either self.ts or self.rpmdb.ts if either


More information about the Yum-commits mailing list