Switch from oslo.* libs to oslo_*

The oslo team is recommending everyone to switch to the
non-namespaced versions of libraries.

Change-Id: I7f641a56f61e307e1cf0d57b85ab72f401db6f6c
This commit is contained in:
Vladislav Kuzmin 2015-02-06 13:00:20 +04:00
parent 54e2a86d22
commit d6387efb42
7 changed files with 12 additions and 12 deletions

View File

@ -19,7 +19,7 @@ import json
import logging
import os
from oslo.config import cfg
from oslo_config import cfg
import pecan
from pecan import hooks
import webob

View File

@ -20,8 +20,8 @@ Call these functions from refstack.db namespace, not the refstack.db.api
namespace.
"""
from oslo.config import cfg
from oslo.db import api as db_api
from oslo_config import cfg
from oslo_db import api as db_api
db_opts = [

View File

@ -20,7 +20,7 @@ import os
import alembic
from alembic import config as alembic_config
import alembic.migration as alembic_migration
from oslo.config import cfg
from oslo_config import cfg
from refstack.db.sqlalchemy import api as db_api

View File

@ -18,9 +18,9 @@ Implementation of SQLAlchemy backend.
import sys
import uuid
from oslo.config import cfg
from oslo.db import options as db_options
from oslo.db.sqlalchemy import session as db_session
from oslo_config import cfg
from oslo_db import options as db_options
from oslo_db.sqlalchemy import session as db_session
from refstack.db.sqlalchemy import models

View File

@ -19,9 +19,9 @@ SQLAlchemy models for Refstack data.
import datetime
from oslo.config import cfg
from oslo.db.sqlalchemy import models
from oslo.utils import timeutils
from oslo_config import cfg
from oslo_db.sqlalchemy import models
from oslo_utils import timeutils
import sqlalchemy as sa
from sqlalchemy import orm
from sqlalchemy.ext.declarative import declarative_base

View File

@ -17,7 +17,7 @@
import logging
from oslo.config import cfg
from oslo_config import cfg
CONF = cfg.CONF
LOG = logging.getLogger(__name__)

View File

@ -19,7 +19,7 @@ import os
import alembic
import alembic.config
from oslo.config import cfg
from oslo_config import cfg
import sqlalchemy as sa
import sqlalchemy.exc
from unittest import TestCase