[Kimchi-devel] [PATCH 2/2] Use absolute import path on root.py

Paulo Ricardo Paz Vital pvital at linux.vnet.ibm.com
Thu Oct 15 20:47:21 UTC 2015


Reviewed-By: Paulo Vital <pvital at linux.vnet.ibm.com>

On Thu, 2015-10-15 at 17:25 -0300, Aline Manera wrote:
> Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
> ---
>  src/wok/plugins/kimchi/root.py | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
> 
> diff --git a/src/wok/plugins/kimchi/root.py
> b/src/wok/plugins/kimchi/root.py
> index 8128c89..9cbc70f 100644
> --- a/src/wok/plugins/kimchi/root.py
> +++ b/src/wok/plugins/kimchi/root.py
> @@ -21,15 +21,12 @@ import json
>  import os
>  import cherrypy
> 
> +from wok.plugins.kimchi import config, mockmodel, vnc
>  from wok.plugins.kimchi.i18n import messages
> +from wok.plugins.kimchi.control import sub_nodes
> +from wok.plugins.kimchi.model import model as kimchiModel
>  from wok.root import WokRoot
> 
> -import config
> -import mockmodel
> -import vnc
> -from control import sub_nodes
> -from model import model as kimchiModel
> -
> 
>  class KimchiRoot(WokRoot):
>      def __init__(self, wok_options):




More information about the Kimchi-devel mailing list