Merge "Remove all imports from oslo namespace"

This commit is contained in:
Jenkins 2015-04-20 22:42:54 +00:00 committed by Gerrit Code Review
commit 5eab1430f2
20 changed files with 27 additions and 27 deletions

View File

@ -28,8 +28,8 @@ import re
import socket
from keystoneclient import adapter
from oslo.utils import importutils
from oslo.utils import netutils
from oslo_utils import importutils
from oslo_utils import netutils
import requests
from requests import adapters

View File

@ -10,16 +10,16 @@
# License for the specific language governing permissions and limitations
# under the License.
"""oslo.i18n integration module for novaclient.
"""oslo_i18n integration module for novaclient.
See http://docs.openstack.org/developer/oslo.i18n/usage.html .
"""
from oslo import i18n
import oslo_i18n
_translators = i18n.TranslatorFactory(domain='novaclient')
_translators = oslo_i18n.TranslatorFactory(domain='novaclient')
# The primary translation function using the well-known name "_"
_ = _translators.primary

View File

@ -33,8 +33,8 @@ from keystoneclient.auth.identity.generic import password
from keystoneclient.auth.identity.generic import token
from keystoneclient.auth.identity import v3 as identity
from keystoneclient import session as ksession
from oslo.utils import encodeutils
from oslo.utils import strutils
from oslo_utils import encodeutils
from oslo_utils import strutils
import pkg_resources
import six

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo.serialization import jsonutils
from oslo_serialization import jsonutils
from novaclient.tests.unit import fakes
from novaclient.tests.unit.fixture_data import base

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo.serialization import jsonutils
from oslo_serialization import jsonutils
from six.moves.urllib import parse
from novaclient.tests.unit.fixture_data import base

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo.serialization import jsonutils
from oslo_serialization import jsonutils
from novaclient.tests.unit import fakes
from novaclient.tests.unit.fixture_data import base

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo.serialization import jsonutils
from oslo_serialization import jsonutils
from novaclient.tests.unit import fakes
from novaclient.tests.unit.fixture_data import base

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo.serialization import jsonutils
from oslo_serialization import jsonutils
from novaclient.tests.unit.fixture_data import base

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo.serialization import jsonutils
from oslo_serialization import jsonutils
from novaclient.tests.unit import fakes
from novaclient.tests.unit.fixture_data import base

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo.serialization import jsonutils
from oslo_serialization import jsonutils
from novaclient.tests.unit import fakes
from novaclient.tests.unit.fixture_data import base

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo.serialization import jsonutils
from oslo_serialization import jsonutils
from novaclient.tests.unit.fixture_data import base

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo.serialization import jsonutils
from oslo_serialization import jsonutils
from novaclient.tests.unit import fakes
from novaclient.tests.unit.fixture_data import base

View File

@ -15,7 +15,7 @@ import os
import fixtures
import mock
from oslo.serialization import jsonutils
from oslo_serialization import jsonutils
import requests
from requests_mock.contrib import fixture as requests_mock_fixture
import six

View File

@ -17,7 +17,7 @@
import datetime
import mock
from oslo.utils import strutils
from oslo_utils import strutils
import six
from six.moves.urllib import parse

View File

@ -13,7 +13,7 @@
# under the License.
import mock
from oslo.serialization import jsonutils
from oslo_serialization import jsonutils
import six
from novaclient import exceptions

View File

@ -22,7 +22,7 @@ import os
import fixtures
import mock
from oslo.utils import timeutils
from oslo_utils import timeutils
import six
from six.moves import builtins

View File

@ -18,8 +18,8 @@ import textwrap
import time
import uuid
from oslo.serialization import jsonutils
from oslo.utils import encodeutils
from oslo_serialization import jsonutils
from oslo_utils import encodeutils
import pkg_resources
import prettytable
import six

View File

@ -16,7 +16,7 @@
Flavor interface.
"""
from oslo.utils import strutils
from oslo_utils import strutils
from six.moves.urllib import parse
from novaclient import base

View File

@ -21,7 +21,7 @@ Server interface.
import base64
from oslo.utils import encodeutils
from oslo_utils import encodeutils
import six
from six.moves.urllib import parse

View File

@ -28,9 +28,9 @@ import os
import sys
import time
from oslo.utils import encodeutils
from oslo.utils import strutils
from oslo.utils import timeutils
from oslo_utils import encodeutils
from oslo_utils import strutils
from oslo_utils import timeutils
import six
from novaclient import client