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:
Mark McLoughlin
2012-02-03 00:50:58 +00:00
parent 2e90fa65d1
commit fce2bf3cba
4 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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 = \

View File

@@ -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

View File

@@ -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")