[virt-tools-list] [PATCH virt-manager] vmmCreate: Fixed an AttributeError created by 7fcdd61

Cole Robinson crobinso at redhat.com
Mon Jul 7 21:54:40 UTC 2014


On 07/07/2014 03:53 PM, Tal Kain wrote:
> When trying to create a new virtual machine an exception has been thrown:
> Error launching manager: 'vmmConnection' object has no attribute
> 'get_pretty_desc_active'
> 
> Signed-off-by: Tal Kain <tal at kain.net>
> ---
>  virtManager/create.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/virtManager/create.py b/virtManager/create.py
> index f8c5936..e0ac521 100644
> --- a/virtManager/create.py
> +++ b/virtManager/create.py
> @@ -763,7 +763,7 @@ class vmmCreate(vmmGObjectUI):
>                  # Favor local connections over remote connections
>                  default = len(model)
> 
> -            model.append([connobj.get_uri(),
> connobj.get_pretty_desc_active()])
> +            model.append([connobj.get_uri(), connobj.get_pretty_desc()])
> 
>          no_conns = (len(model) == 0)
> 

Hmm, not sure how I missed that. Thanks for fixing, pushed now.

- Cole




More information about the virt-tools-list mailing list