[yum-commits] yum/drpm.py

James Antill james at osuosl.org
Mon Mar 11 18:55:38 UTC 2013


 yum/drpm.py |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit ef0b3a3a0db035f0f2b50c77b2b4d2122fff32ef
Author: James Antill <james at and.org>
Date:   Mon Mar 11 11:12:48 2013 -0400

    Fix deltarpm=0 to make it disable drpm rebuilding.

diff --git a/yum/drpm.py b/yum/drpm.py
index 41dab0e..058977e 100644
--- a/yum/drpm.py
+++ b/yum/drpm.py
@@ -115,6 +115,9 @@ class DeltaInfo:
             nprocs = _num_cpus_online()
             self.limit *= -nprocs
 
+        if not self.limit: # Turned off.
+            return
+
         # calculate update sizes
         oldrpms = {}
         pinfo = {}


More information about the Yum-commits mailing list