Use osc-lib instead of openstackclient

osc-lib is a package of common support modules for writing
OSC plugins. All common functions, classes such as exceptions,
utils, logs and so on have been moved from openstackclient to
osc-lib.

So use osc-lib instead of openstackclient.

Change-Id: I4377951ba0b58ea94a43c688b66c0b87dda7225d
This commit is contained in:
Tang Chen 2016-06-24 13:36:37 +08:00
parent ee9cbe632c
commit e5a76f63f4
4 changed files with 4 additions and 3 deletions

View File

@ -13,7 +13,8 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from openstackclient.common import utils as oscutils
from osc_lib import utils as oscutils
from designateclient import shell

View File

@ -19,7 +19,7 @@ import logging
from cliff import command
from cliff import lister
from cliff import show
from openstackclient.common import exceptions as osc_exc
from osc_lib import exceptions as osc_exc
import six
from designateclient import utils

View File

@ -3,6 +3,7 @@
# process, which may cause wedges in the gate later.
cliff!=1.16.0,!=1.17.0,>=1.15.0 # Apache-2.0
jsonschema!=2.5.0,<3.0.0,>=2.0.0 # MIT
osc-lib>=0.1.0 # Apache-2.0
oslo.utils>=3.11.0 # Apache-2.0
pbr>=1.6 # Apache-2.0
keystoneauth1>=2.7.0 # Apache-2.0

View File

@ -7,7 +7,6 @@ coverage>=3.6 # Apache-2.0
mock>=2.0 # BSD
discover # BSD
oslotest>=1.10.0 # Apache-2.0
python-openstackclient>=2.1.0 # Apache-2.0
python-subunit>=0.0.18 # Apache-2.0/BSD
requests-mock>=0.7.0 # Apache-2.0
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD