change old oslo.concurrency to oslo_concurrency

as oslo.concurrency deprecated, need to sync to latest usage

Change-Id: I151f2ef3d786745ef11f9b9c2be2aff167218fff
This commit is contained in:
Kennan 2014-12-31 17:06:30 +08:00
parent a4482c53d3
commit e36e8ee5d0
2 changed files with 3 additions and 3 deletions

View File

@ -29,9 +29,9 @@ import tempfile
import uuid
import netaddr
from oslo.concurrency import processutils
from oslo.config import cfg
from oslo.utils import excutils
from oslo_concurrency import processutils
import paramiko
import six

View File

@ -9,7 +9,7 @@
# WITHOUT 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 oslo.concurrency import processutils
from oslo_concurrency import processutils
def execute(*cmd, **kwargs):
@ -19,4 +19,4 @@ def execute(*cmd, **kwargs):
def trycmd(*args, **kwargs):
"""Convenience wrapper around oslo's trycmd() method."""
return processutils.trycmd(*args, **kwargs)
return processutils.trycmd(*args, **kwargs)