[Kimchi-devel] [PATCH 1/2] vmtemplate: Remove useless imports

Aline Manera alinefm at linux.vnet.ibm.com
Fri Feb 28 16:24:31 UTC 2014


From: Aline Manera <alinefm at br.ibm.com>

urllib2 and kimchi.isoinfo are not used in the vmtemplate.py code
So there is no need to import those modules.

Signed-off-by: Aline Manera <alinefm at br.ibm.com>
---
 src/kimchi/vmtemplate.py |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/kimchi/vmtemplate.py b/src/kimchi/vmtemplate.py
index 3e52be5..a3be21b 100644
--- a/src/kimchi/vmtemplate.py
+++ b/src/kimchi/vmtemplate.py
@@ -20,11 +20,9 @@
 import os
 import string
 import socket
-import urllib
 import urlparse
 
 
-from kimchi import isoinfo
 from kimchi import osinfo
 from kimchi.exception import InvalidParameter, IsoFormatError
 from kimchi.isoinfo import IsoImage
-- 
1.7.10.4




More information about the Kimchi-devel mailing list