From fce2bf3cba33df40bfc9dcd2c12f9c281d6e33d7 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Fri, 3 Feb 2012 00:50:58 +0000 Subject: [PATCH] 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 --- nova/db/api.py | 2 +- nova/db/base.py | 2 +- nova/test.py | 2 +- nova/utils.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nova/db/api.py b/nova/db/api.py index de7b1de74..a8869458c 100644 --- a/nova/db/api.py +++ b/nova/db/api.py @@ -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 diff --git a/nova/db/base.py b/nova/db/base.py index 77b7d82a7..a1b3bf711 100644 --- a/nova/db/base.py +++ b/nova/db/base.py @@ -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 = \ diff --git a/nova/test.py b/nova/test.py index f8e9c390f..7fe4b4abb 100644 --- a/nova/test.py +++ b/nova/test.py @@ -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 diff --git a/nova/utils.py b/nova/utils.py index f86b4ff1f..72e1cd3e0 100644 --- a/nova/utils.py +++ b/nova/utils.py @@ -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")