[Kimchi-devel] [PATCH V2] [Kimchi] Fix for the kimchi #1102
Lucio Correia
luciojhc at linux.vnet.ibm.com
Tue Jan 31 11:03:43 UTC 2017
Reviewed-By: Lucio Correia <luciojhc at linux.vnet.ibm.com>
On 31/01/2017 07:18, jkatta at linux.vnet.ibm.com wrote:
> From: Jayavardhan Katta <jkatta at linux.vnet.ibm.com>
>
> Fix given to the kimchi plugin to avoid multiple continuos error message to the log
> in case of VMs created outside of WoK.
>
> Signed-off-by: Jayavardhan Katta <jkatta at linux.vnet.ibm.com>
> ---
> model/vms.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/model/vms.py b/model/vms.py
> index 7729af0..e7ed7c2 100644
> --- a/model/vms.py
> +++ b/model/vms.py
> @@ -1300,7 +1300,7 @@ class VMModel(object):
>
> with self.objstore as session:
> try:
> - extra_info = session.get('vm', dom.UUIDString())
> + extra_info = session.get('vm', dom.UUIDString(), True)
> except NotFoundError:
> extra_info = {}
> icon = extra_info.get('icon')
>
--
Lucio Correia
More information about the Kimchi-devel
mailing list