From 9159a168fb6c515d225985ca443b07d647475618 Mon Sep 17 00:00:00 2001 From: Yuriy Taraday Date: Wed, 20 Aug 2014 14:00:40 +0400 Subject: [PATCH] Switch to oslo.utils in our code Note that strutils is still used by jsonutils and log (used by fileutils), so it isn't removed from openstack/common/. Change-Id: I3a1e526c4310869747a4999e52a527604703e979 --- openstack-common.conf | 1 - oslo/concurrency/processutils.py | 2 +- requirements-py3.txt | 1 + requirements.txt | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/openstack-common.conf b/openstack-common.conf index 0e9553a..fed59cb 100644 --- a/openstack-common.conf +++ b/openstack-common.conf @@ -4,7 +4,6 @@ module = fileutils module = fixture module = gettextutils -module = strutils script = tools/run_cross_tests.sh # The base module to hold the copy of openstack.common diff --git a/oslo/concurrency/processutils.py b/oslo/concurrency/processutils.py index a521e4e..48e7ac8 100644 --- a/oslo/concurrency/processutils.py +++ b/oslo/concurrency/processutils.py @@ -27,10 +27,10 @@ import signal from eventlet.green import subprocess from eventlet import greenthread +from oslo.utils import strutils import six from oslo.concurrency.openstack.common.gettextutils import _ # noqa -from oslo.concurrency.openstack.common import strutils LOG = logging.getLogger(__name__) diff --git a/requirements-py3.txt b/requirements-py3.txt index 7a50746..797c05d 100644 --- a/requirements-py3.txt +++ b/requirements-py3.txt @@ -3,5 +3,6 @@ Babel>=0.9.6 iso8601>=0.1.9 fixtures>=0.3.14 oslo.config>=1.4.0.0a3 +oslo.utils>=0.2.0 posix_ipc six>=1.7.0 diff --git a/requirements.txt b/requirements.txt index aba8a68..65ec2c5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,5 +4,6 @@ eventlet>=0.13.0 greenlet>=0.3.2 fixtures>=0.3.14 oslo.config>=1.4.0.0a3 +oslo.utils>=0.2.0 posix_ipc six>=1.7.0