Clean imports in code
In some part in the code we import objects. In the Openstack style guidelines they recommand to import only modules. We need to fix that. Change-Id: I4bfee2b94d101940d615f78f9bebb83310ed90ba Partial-Bug:1543101
This commit is contained in:
committed by
Vincent Françoise
parent
e3198d25a5
commit
5baff7dc3e
@@ -22,13 +22,13 @@ from oslo_config import cfg
|
||||
from oslo_log import log
|
||||
from watcher.common import ceilometer_helper
|
||||
|
||||
from watcher.metrics_engine.cluster_history.api import BaseClusterHistory
|
||||
from watcher.metrics_engine.cluster_history import api
|
||||
|
||||
CONF = cfg.CONF
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class CeilometerClusterHistory(BaseClusterHistory):
|
||||
class CeilometerClusterHistory(api.BaseClusterHistory):
|
||||
def __init__(self, osc=None):
|
||||
""":param osc: an OpenStackClients instance"""
|
||||
super(CeilometerClusterHistory, self).__init__()
|
||||
|
||||
Reference in New Issue
Block a user