Remove unused logging import

it's obviously the code was copied from other place,
let's make it perfect.

Change-Id: I2623861ba7e8cfa601d4df2d51f42ca1b805f8c2
This commit is contained in:
caoyue 2016-01-19 11:26:36 +08:00
parent 918af046e8
commit f3729f761b
5 changed files with 0 additions and 15 deletions

View File

@ -17,10 +17,6 @@
import re
from oslo_log import log as logging
LOG = logging.getLogger(__name__)
SERVICE_STATIC = 'static'

View File

@ -23,9 +23,6 @@ from astara import commands
from novaclient import exceptions
from oslo_config import cfg
from oslo_log import log as logging
LOG = logging.getLogger(__name__)
class _TenantResourceCmd(message.MessageSending):

View File

@ -18,8 +18,6 @@ from oslo_config import cfg
from oslo_log import log
LOG = log.getLogger(__name__)
PREFERRED_CONFIG_FILEPATH = '/etc/astara/orchestrator.ini'
SEARCH_DIRS = ['/etc/astara', '/etc/akanda-rug', '/etc/akanda']
LEGACY_FILE_MAP = {

View File

@ -20,13 +20,11 @@
from oslo_config import cfg
from oslo_db import exception as db_exc
from oslo_db.sqlalchemy import session as db_session
from oslo_log import log
from astara.db import api
from astara.db.sqlalchemy import models
CONF = cfg.CONF
LOG = log.getLogger(__name__)
_FACADE = None

View File

@ -15,8 +15,6 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
import mock
import unittest2 as unittest
from datetime import datetime, timedelta
@ -32,8 +30,6 @@ from oslo_config import cfg
states.RETRY_DELAY = 0.4
states.BOOT_WAIT = 1
LOG = logging.getLogger(__name__)
class FakeModel(object):
def __init__(self, id_, **kwargs):