[Kimchi-devel] [PATCH 1/2] vmtemplate: Remove useless imports
Royce Lv
lvroyce at linux.vnet.ibm.com
Mon Mar 3 05:20:26 UTC 2014
Reviewed-by: Royce Lv<lvroyce at linux.vnet.ibm.com>
On 2014年03月01日 00:24, Aline Manera wrote:
> 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
More information about the Kimchi-devel
mailing list