Cleanup imports in code

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

[1]: http://docs.openstack.org/developer/hacking/#imports

Change-Id: If2420b4ba95e5807e6bdb10ac1196e9d86815988
This commit is contained in:
Nguyen Phuong An 2016-08-26 16:54:45 +07:00
parent 5e030dad31
commit 4726a8bb0c

View File

@ -25,7 +25,7 @@ from oslo_service import service
from neutron_lbaas._i18n import _, _LE
from neutron_lbaas.drivers import driver_base
from neutron_lbaas.drivers.driver_mixins import BaseManagerMixin
from neutron_lbaas.drivers import driver_mixins
from neutron_lbaas.services.loadbalancer.drivers.netscaler import ncc_client
DEFAULT_PERIODIC_TASK_INTERVAL = "2"
@ -330,7 +330,7 @@ class NetScalerLoadBalancerDriverV2(driver_base.LoadBalancerBaseDriver):
return
class NetScalerCommonManager(BaseManagerMixin):
class NetScalerCommonManager(driver_mixins.BaseManagerMixin):
def __init__(self, driver):
super(NetScalerCommonManager, self).__init__(driver)