[Kimchi-devel] [PATCH] Fix Software Update rebase issue.

Paulo Vital pvital at linux.vnet.ibm.com
Mon Feb 17 13:19:52 UTC 2014


During the last merge/rebase to apply Software Update feature to the code,
an important line was removed. This fix is adding it again and enabling the
code to list all host's package updates.

Signed-off-by: Paulo Vital <pvital at linux.vnet.ibm.com>
---
 src/kimchi/model/host.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/kimchi/model/host.py b/src/kimchi/model/host.py
index 68028b2..ea10370 100644
--- a/src/kimchi/model/host.py
+++ b/src/kimchi/model/host.py
@@ -262,7 +262,7 @@ class DeviceModel(object):
 
 class PackagesUpdateModel(object):
     def __init__(self, **kargs):
-
+        self.host_swupdate = SoftwareUpdate()
         self.objstore = kargs['objstore']
         self.task = TaskModel(**kargs)
 
-- 
1.8.3.1




More information about the Kimchi-devel mailing list