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:
caoyuan
2017-10-21 14:14:23 +08:00
parent 3729e39552
commit 05b57fee7a
8 changed files with 16 additions and 16 deletions

View File

@@ -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):