<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 01/29/2014 04:37 PM, Crístian Viana
wrote:<br>
</div>
<blockquote cite="mid:52E94A66.3020409@linux.vnet.ibm.com"
type="cite">
<br>
Am 29-01-2014 16:31, schrieb Aline Manera:
<br>
<blockquote type="cite">
<blockquote type="cite">+ def softwareupdate_lookup(self,
*name):
<br>
+ return self.host_swupdate.getUpdates()
<br>
+
<br>
+ def softwareupdate_update(self, args=None):
<br>
+ kimchi_log.info('Host is going to be updated.')
<br>
+ self.host_swupdate.doUpdate()
<br>
</blockquote>
<br>
The mockmodel is a fake model.
<br>
Which means we should not touch the system.
<br>
You need to return default values there.
<br>
</blockquote>
But this is a patch to src/kimchi/model.py, isn't it?
<br>
</blockquote>
<font face="DejaVu Sans Mono">Sorry, I commented in the model.py
patch<br>
<br>
But the same code is in mockmodel.py so the comment is still
valid.<br>
</font>
</body>
</html>