From db33c2c5618afbc53ab42d33bed27b95420003cb Mon Sep 17 00:00:00 2001 From: Jon Schlueter Date: Mon, 18 Jul 2016 15:16:32 -0400 Subject: [PATCH] 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 Depends-On: I095209c241876c6ab48595962e07144fc5cc34a6 Change-Id: Id864c001b35c2ff3f3d92cdd8df97d0206c607c3 --- aodhclient/osc.py | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/aodhclient/osc.py b/aodhclient/osc.py index 3d5b133..0f69d17 100644 --- a/aodhclient/osc.py +++ b/aodhclient/osc.py @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. -from openstackclient.common import utils +from osc_lib import utils DEFAULT_ALARMING_API_VERSION = '2' diff --git a/requirements.txt b/requirements.txt index e9bce0c..4990ed0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ pbr<2.0,>=1.4 cliff!=1.16.0,>=1.14.0 # Apache-2.0 +osc-lib>=1.0.1 # Apache-2.0 oslo.i18n>=1.5.0 # Apache-2.0 oslo.serialization>=1.4.0 # Apache-2.0 oslo.utils>=2.0.0 # Apache-2.0