Adapted namespace for oslo modules

This commit is contained in:
tengqm 2015-02-17 09:03:16 +08:00
parent a56be33b3b
commit 6b18cf9ccf
6 changed files with 10 additions and 10 deletions

View File

@ -30,7 +30,7 @@ import eventlet.backdoor
import greenlet
from oslo_config import cfg
from senlin.common._i18n import _LI
from senlin.openstack.common._i18n import _LI
help_for_backdoor_port = (
"Acceptable values are 0, <port>, and <start>:<end>, where 0 results "

View File

@ -22,7 +22,7 @@ import time
from eventlet import event
from eventlet import greenthread
from openstack.common._i18n import _LE, _LW
from senlin.openstack.common._i18n import _LE, _LW
LOG = logging.getLogger(__name__)

View File

@ -19,7 +19,7 @@ import time
from oslo_config import cfg
import six
from openstack.common._i18n import _, _LE, _LI
from senlin.openstack.common._i18n import _, _LE, _LI
periodic_opts = [

View File

@ -101,8 +101,8 @@ import six
import six.moves.urllib.parse as urlparse
import six.moves.urllib.request as urlrequest
from openstack.common import fileutils
from openstack.common._i18n import _, _LE, _LI
from senlin.openstack.common import fileutils
from senlin.openstack.common._i18n import _, _LE, _LI
policy_opts = [

View File

@ -37,10 +37,10 @@ import eventlet
from eventlet import event
from oslo_config import cfg
from openstack.common import eventlet_backdoor
from openstack.common._i18n import _LE, _LI, _LW
from openstack.common import systemd
from openstack.common import threadgroup
from senlin.openstack.common import eventlet_backdoor
from senlin.openstack.common._i18n import _LE, _LI, _LW
from senlin.openstack.common import systemd
from senlin.openstack.common import threadgroup
CONF = cfg.CONF

View File

@ -17,7 +17,7 @@ import threading
import eventlet
from eventlet import greenpool
from openstack.common import loopingcall
from senlin.openstack.common import loopingcall
LOG = logging.getLogger(__name__)