[Kimchi-devel] [RFC][PATCH V2 1/3] add a method to probe the permission as qemu user

Crístian Viana vianac at linux.vnet.ibm.com
Mon Mar 10 13:31:45 UTC 2014


Am 10-03-2014 05:23, schrieb shaohef at linux.vnet.ibm.com:
>   import cherrypy
> +import grp
> +from multiprocessing import Process, Queue
>   import os
>   import psutil
> +import pwd
>   import re
>   import subprocess
>   import urllib2
>   from threading import Timer
> +import traceback
>
>   from cherrypy.lib.reprconf import Parser
The statements "from <foo> import <bar>" should be placed at the end of 
their corresponding blocks. So, the statement "from multiprocessing..." 
should be moved to before "from threading..." (alphabetical order) and 
"import traceback" should be moved to after "import urllib2" (before the 
statements "from <foo> import <bar>").




More information about the Kimchi-devel mailing list