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

lvroyce at linux.vnet.ibm.com lvroyce at linux.vnet.ibm.com
Mon Feb 24 07:21:22 UTC 2014


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
-- 
1.8.1.2




More information about the Kimchi-devel mailing list