Clean imports in code

In some part in the code we import objects. In the Openstack style
guidelines they recommend to import only modules.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: Id484a531853ac497523c9659e0e4ad80e04408c7
This commit is contained in:
Nguyen Hung Phuong 2016-09-12 15:33:02 +07:00
parent 245d1c4020
commit 83ee923096
3 changed files with 0 additions and 7 deletions

View File

@ -18,9 +18,7 @@ import json
from perf_tool import PerfTool
from hdrh.histogram import HdrHistogram
import log as logging
LOG = logging.getLogger(__name__)
def assign_dict(dest, key, value, cond_key=None):
if not cond_key or cond_key in dest:

View File

@ -17,9 +17,6 @@ import json
from perf_tool import PerfTool
import log as logging
LOG = logging.getLogger(__name__)
class NuttcpTool(PerfTool):

View File

@ -15,11 +15,9 @@
from base_compute import BaseCompute
from fio_tool import FioTool
import log as logging
from nuttcp_tool import NuttcpTool
from wrk_tool import WrkTool
LOG = logging.getLogger(__name__)
# An openstack instance (can be a VM or a LXC)
class PerfInstance(BaseCompute):