[Kimchi-devel] [PATCH] Add software update action to Host resource

Aline Manera alinefm at linux.vnet.ibm.com
Tue Feb 18 13:47:35 UTC 2014


On 02/18/2014 10:23 AM, Crístian Viana wrote:
>
> Am 17-02-2014 19:37, schrieb Aline Manera:
>> +        try:
>> +            pkgs = swupdate.getNumOfUpdates()
>> +        except OperationFailed, e:
>> +            raise e
>> +
> How is this try/except block useful? It's just reraising the same 
> error. Wouldn't the same thing happen if it doesn't exist?
I will remove it on v3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20140218/a9ae1bc9/attachment.html>


More information about the Kimchi-devel mailing list