fix bad import of loopingcall

By import loopingcall from oslo_service, instead of
openstack.common.

Change-Id: I95a207aca099e074ad31279f3bd1d4b1ea6c123d
This commit is contained in:
Huang Rui 2015-07-23 11:24:26 +08:00
parent 69f6ddf790
commit 64973a51dc
3 changed files with 3 additions and 2 deletions

View File

@ -21,6 +21,7 @@ import uuid
from oslo_config import cfg
from oslo_log import log as logging
from oslo_serialization import jsonutils
from oslo_service import loopingcall
from oslo_utils import excutils
from oslo_utils import timeutils
from oslo_utils import units
@ -32,7 +33,6 @@ from nova.compute import vm_mode
from nova import exception as nova_exception
from nova.i18n import _, _LI
from nova.image import glance
from nova.openstack.common import loopingcall
from nova import utils
from nova.virt import configdrive
from nova.virt import driver

View File

@ -18,12 +18,12 @@ import datetime
from oslo_config import cfg
from oslo_log import log as logging
from oslo_service import loopingcall
from oslo_utils import timeutils
from nova.compute import power_state
from nova import exception as nova_exception
from nova.i18n import _
from nova.openstack.common import loopingcall
from nova.virt import hardware
from nova.virt.zvm import const
from nova.virt.zvm import exception

View File

@ -2,4 +2,5 @@ pbr<2.0,>=0.11
oslo.config>=1.9.0 # Apache-2.0
oslo.log>=0.1.0 # Apache-2.0
oslo.serialization>=1.0.0 # Apache-2.0
oslo.service>=0.1.0 # Apache-2.0
oslo.utils>=1.0.0 # Apache-2.0