Move cfg to nova.openstack.common
Move it here so that it can be kept in sync with openstack-common using the new update.py script for code in openstack-common's incubation area. See here for more details: http://wiki.openstack.org/CommonLibrary#Incubation Note: this commit just moves the existing code in Nova with no other changes. A subsequent commit will sync it with latest openstack-common so that it is easier see the new changes. Change-Id: If88d678b1b9bad3d37117de7f7159d7fea8ab4c8
This commit is contained in:
@@ -43,9 +43,9 @@ these objects be simple dictionaries.
|
||||
|
||||
"""
|
||||
|
||||
from nova.common import cfg
|
||||
from nova import exception
|
||||
from nova import flags
|
||||
from nova.openstack.common import cfg
|
||||
from nova import utils
|
||||
|
||||
|
||||
|
@@ -18,9 +18,9 @@
|
||||
|
||||
"""Base class for classes that need modular database access."""
|
||||
|
||||
from nova.common import cfg
|
||||
from nova import utils
|
||||
from nova import flags
|
||||
from nova.openstack.common import cfg
|
||||
|
||||
|
||||
db_driver_opt = \
|
||||
|
@@ -33,10 +33,10 @@ import mox
|
||||
import nose.plugins.skip
|
||||
import stubout
|
||||
|
||||
from nova.common import cfg
|
||||
from nova import flags
|
||||
import nova.image.fake
|
||||
from nova import log
|
||||
from nova.openstack.common import cfg
|
||||
from nova import utils
|
||||
from nova import service
|
||||
from nova.testing.fake import rabbit
|
||||
|
@@ -46,10 +46,10 @@ from eventlet import semaphore
|
||||
from eventlet.green import subprocess
|
||||
import netaddr
|
||||
|
||||
from nova.common import cfg
|
||||
from nova import exception
|
||||
from nova import flags
|
||||
from nova import log as logging
|
||||
from nova.openstack.common import cfg
|
||||
|
||||
|
||||
LOG = logging.getLogger("nova.utils")
|
||||
|
Reference in New Issue
Block a user