diff options
Diffstat (limited to 'nova/volume/__init__.py')
-rw-r--r-- | nova/volume/__init__.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/nova/volume/__init__.py b/nova/volume/__init__.py index a8a9510acd..0ab9eba300 100644 --- a/nova/volume/__init__.py +++ b/nova/volume/__init__.py @@ -15,10 +15,7 @@ # under the License. import oslo.config.cfg - -# Importing full names to not pollute the namespace and cause possible -# collisions with use of 'from nova.volume import <foo>' elsewhere. -import nova.openstack.common.importutils +from oslo.utils import importutils _volume_opts = [ oslo.config.cfg.StrOpt('volume_api_class', @@ -31,7 +28,6 @@ oslo.config.cfg.CONF.register_opts(_volume_opts) def API(): - importutils = nova.openstack.common.importutils volume_api_class = oslo.config.cfg.CONF.volume_api_class cls = importutils.import_class(volume_api_class) return cls() |