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

@@ -24,7 +24,7 @@ import string
from croniter import croniter
from jsonschema import validators
from oslo_log import log as logging
from oslo_log import log
from oslo_utils import strutils
from oslo_utils import uuidutils
import six
@@ -35,7 +35,7 @@ from watcher import conf
CONF = conf.CONF
LOG = logging.getLogger(__name__)
LOG = log.getLogger(__name__)
class Struct(dict):