Unify the oslo_log import usage
In watcher project, some py file use "from oslo_log import log as logging" for import, but more use "from oslo_log import log" like https://github.com/openstack/watcher/blob/master/watcher/decision_engine/strategy/strategies/dummy_strategy.py#L19 this patch to unify it. Change-Id: I9c667bb202bebc7942d1af5ce438375285c2e2ba
This commit is contained in:
@@ -16,13 +16,13 @@
|
||||
|
||||
import numbers
|
||||
|
||||
from oslo_log import log as logging
|
||||
from oslo_log import log
|
||||
|
||||
from watcher._i18n import _
|
||||
from watcher.common import exception
|
||||
from watcher.common import utils
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class IndicatorsMap(utils.Struct):
|
||||
|
||||
Reference in New Issue
Block a user