From 71d4f906c1a52f5dcba114ff8aa70148dafffd24 Mon Sep 17 00:00:00 2001 From: kong wei Date: Fri, 3 Mar 2017 14:37:44 +0000 Subject: escalator should use oslo.xxx instead of oslo-xxx Change-Id: I2a3b9775044d389413e113a2ed73fbab02ea9dd9 Signed-off-by: Kong Wei --- client/escalatorclient/common/http.py | 6 +++--- client/escalatorclient/common/https.py | 2 +- client/escalatorclient/common/utils.py | 6 +++--- client/escalatorclient/openstack/common/apiclient/base.py | 2 +- client/escalatorclient/openstack/common/apiclient/client.py | 4 ++-- client/escalatorclient/openstack/common/apiclient/utils.py | 4 ++-- client/escalatorclient/shell.py | 4 ++-- client/escalatorclient/v1/shell.py | 2 +- client/escalatorclient/v1/versions.py | 4 ++-- 9 files changed, 17 insertions(+), 17 deletions(-) (limited to 'client') diff --git a/client/escalatorclient/common/http.py b/client/escalatorclient/common/http.py index 301eedb..e3e4b88 100644 --- a/client/escalatorclient/common/http.py +++ b/client/escalatorclient/common/http.py @@ -16,12 +16,12 @@ import copy import logging import socket -from oslo_utils import encodeutils +from oslo.utils import encodeutils from escalatorclient.common import https from escalatorclient.common.utils import safe_header from escalatorclient import exc -from oslo_utils import importutils -from oslo_utils import netutils +from oslo.utils import importutils +from oslo.utils import netutils from simplejson import decoder import requests try: diff --git a/client/escalatorclient/common/https.py b/client/escalatorclient/common/https.py index 55769a0..0008a84 100644 --- a/client/escalatorclient/common/https.py +++ b/client/escalatorclient/common/https.py @@ -25,7 +25,7 @@ try: except ImportError: from urllib3 import connectionpool -from oslo_utils import encodeutils +from oslo.utils import encodeutils import six # NOTE(jokke): simplified transition to py3, behaves like py2 xrange from six.moves import range diff --git a/client/escalatorclient/common/utils.py b/client/escalatorclient/common/utils.py index 0156d31..6ebffe0 100644 --- a/client/escalatorclient/common/utils.py +++ b/client/escalatorclient/common/utils.py @@ -23,13 +23,13 @@ import re import sys import threading import uuid -from oslo_utils import encodeutils -from oslo_utils import strutils +from oslo.utils import encodeutils +from oslo.utils import strutils import prettytable import six from escalatorclient import exc -from oslo_utils import importutils +from oslo.utils import importutils if os.name == 'nt': import msvcrt diff --git a/client/escalatorclient/openstack/common/apiclient/base.py b/client/escalatorclient/openstack/common/apiclient/base.py index eb7218b..128e964 100644 --- a/client/escalatorclient/openstack/common/apiclient/base.py +++ b/client/escalatorclient/openstack/common/apiclient/base.py @@ -40,7 +40,7 @@ Base utilities to build API operation managers and objects on top of. import abc import copy -from oslo_utils import strutils +from oslo.utils import strutils import six from six.moves.urllib import parse diff --git a/client/escalatorclient/openstack/common/apiclient/client.py b/client/escalatorclient/openstack/common/apiclient/client.py index d478989..6d80e3c 100644 --- a/client/escalatorclient/openstack/common/apiclient/client.py +++ b/client/escalatorclient/openstack/common/apiclient/client.py @@ -34,8 +34,8 @@ try: except ImportError: import json -from oslo_utils import encodeutils -from oslo_utils import importutils +from oslo.utils import encodeutils +from oslo.utils import importutils import requests from escalatorclient.openstack.common._i18n import _ diff --git a/client/escalatorclient/openstack/common/apiclient/utils.py b/client/escalatorclient/openstack/common/apiclient/utils.py index c0f612a..b37e73b 100644 --- a/client/escalatorclient/openstack/common/apiclient/utils.py +++ b/client/escalatorclient/openstack/common/apiclient/utils.py @@ -24,8 +24,8 @@ # ######################################################################## -from oslo_utils import encodeutils -from oslo_utils import uuidutils +from oslo.utils import encodeutils +from oslo.utils import uuidutils import six from escalatorclient.openstack.common._i18n import _ diff --git a/client/escalatorclient/shell.py b/client/escalatorclient/shell.py index 782106c..6aa17f8 100644 --- a/client/escalatorclient/shell.py +++ b/client/escalatorclient/shell.py @@ -29,8 +29,8 @@ from os.path import expanduser import sys import traceback -from oslo_utils import encodeutils -from oslo_utils import importutils +from oslo.utils import encodeutils +from oslo.utils import importutils import six.moves.urllib.parse as urlparse import escalatorclient diff --git a/client/escalatorclient/v1/shell.py b/client/escalatorclient/v1/shell.py index 401ad76..ab02c9a 100644 --- a/client/escalatorclient/v1/shell.py +++ b/client/escalatorclient/v1/shell.py @@ -17,7 +17,7 @@ from __future__ import print_function import copy import functools -from oslo_utils import strutils +from oslo.utils import strutils import escalatorclient.v1.versions from escalatorclient.common import utils diff --git a/client/escalatorclient/v1/versions.py b/client/escalatorclient/v1/versions.py index 143c4c6..6fe2f74 100644 --- a/client/escalatorclient/v1/versions.py +++ b/client/escalatorclient/v1/versions.py @@ -15,8 +15,8 @@ import copy -from oslo_utils import encodeutils -from oslo_utils import strutils +from oslo.utils import encodeutils +from oslo.utils import strutils import six import six.moves.urllib.parse as urlparse -- cgit 1.2.3-korg