Skip to main content

Source code Changes To

pkg-gate / src / modules / client / linkedimage / common.py

From revision 3044 to 3045:

diff -r 7b051aa6466d -r c4dcf7271fb8 src/modules/client/linkedimage/common.py
--- a/src/modules/client/linkedimage/common.py	Wed Mar 19 17:50:39 2014 -0700
+++ b/src/modules/client/linkedimage/common.py	Thu Mar 20 13:06:07 2014 -0700
@@ -2090,7 +2090,7 @@
 
 
                 lic_all = reduce(operator.add,
-		    [i[1] for i in _lic_op_vectors], [])
+                    [i[1] for i in _lic_op_vectors], [])
                 lic_num = len(lic_all)
 
                 # make sure we don't have any duplicate LICs or duplicate LINs
@@ -2121,7 +2121,8 @@
                 else:
                         pkg_op = "<various>"
 
-                _progtrack.li_recurse_start(pkg_op, lic_num)
+                if lic_num:
+                        _progtrack.li_recurse_start(pkg_op, lic_num)
 
                 # If we have a plan for the current image that means linked
                 # image metadata is probably changing so we always save it to

 
 
Close
loading
Please Confirm
Close