change old oslo.concurrency to oslo_concurrency
as oslo.concurrency deprecated, need to sync to latest usage Change-Id: I151f2ef3d786745ef11f9b9c2be2aff167218fffchanges/13/144613/2
parent
a4482c53d3
commit
e36e8ee5d0
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue