[Kimchi-devel] [PATCH 3/4] Host's software update: Update backend.

Aline Manera alinefm at linux.vnet.ibm.com
Wed Jan 29 18:50:51 UTC 2014


On 01/29/2014 04:37 PM, Crístian Viana wrote:
>
> Am 29-01-2014 16:31, schrieb Aline Manera:
>>> +    def softwareupdate_lookup(self, *name):
>>> +        return self.host_swupdate.getUpdates()
>>> +
>>> +    def softwareupdate_update(self, args=None):
>>> +        kimchi_log.info('Host is going to be updated.')
>>> +        self.host_swupdate.doUpdate()
>>
>> The mockmodel is a fake model.
>> Which means we should not touch the system.
>> You need to return default values there.
> But this is a patch to src/kimchi/model.py, isn't it?
Sorry, I commented in the model.py patch

But the same code is in mockmodel.py so the comment is still valid.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20140129/c66c0d9f/attachment.html>


More information about the Kimchi-devel mailing list