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

Crístian Viana vianac at linux.vnet.ibm.com
Tue Feb 18 13:23:47 UTC 2014


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?




More information about the Kimchi-devel mailing list