[Kimchi-devel] [PATCH] Clear unused reference in vmstorages of 'kargs'

Aline Manera alinefm at linux.vnet.ibm.com
Mon Feb 24 13:25:44 UTC 2014


Reviewed-by: Aline Manera <alinefm at linux.vnet.ibm.com>

On 02/24/2014 04:21 AM, lvroyce at linux.vnet.ibm.com wrote:
> From: Royce Lv <lvroyce at linux.vnet.ibm.com>
>
> Unused attribute in VMStorageModel 'kargs', delete it.
>
> Signed-off-by: Royce Lv <lvroyce at linux.vnet.ibm.com>
> ---
>   src/kimchi/model/vmstorages.py | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/src/kimchi/model/vmstorages.py b/src/kimchi/model/vmstorages.py
> index c715b43..7796f30 100644
> --- a/src/kimchi/model/vmstorages.py
> +++ b/src/kimchi/model/vmstorages.py
> @@ -150,7 +150,6 @@ class VMStoragesModel(object):
>   class VMStorageModel(object):
>       def __init__(self, **kargs):
>           self.conn = kargs['conn']
> -        self.kargs = kargs
>
>       def _get_device_xml(self, vm_name, dev_name):
>           # Get VM xml and then devices xml




More information about the Kimchi-devel mailing list