diff options
author | Michael Still <mikal@stillhq.com> | 2016-02-15 16:40:53 +1100 |
---|---|---|
committer | Michael Still <mikal@stillhq.com> | 2016-02-15 16:40:53 +1100 |
commit | 50a9550999ccf746141bed0d2d6bf4c0801dba72 (patch) | |
tree | 46b74f3702ce6159fc2615fcfe7a81e536013e62 /nova/network | |
parent | dd03245bf12a512ecb7d8f5b479950288ef3beac (diff) | |
download | nova-50a9550999ccf746141bed0d2d6bf4c0801dba72.tar.gz |
Remove unused CONF imports
While reviewing config centralization patches I realized that
we have a fair few files where we import cfg or setup CONF, but
never actually use config variables.
This patch cleans those up, but I am sure we'll add more as we
move more flags around.
Change-Id: I5851bbae2fa198a4e9be149a5836bea813848d89
Diffstat (limited to 'nova/network')
-rw-r--r-- | nova/network/security_group/neutron_driver.py | 2 | ||||
-rw-r--r-- | nova/network/security_group/security_group_base.py | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/nova/network/security_group/neutron_driver.py b/nova/network/security_group/neutron_driver.py index 27fc13e87e..409136585e 100644 --- a/nova/network/security_group/neutron_driver.py +++ b/nova/network/security_group/neutron_driver.py @@ -17,7 +17,6 @@ import sys from neutronclient.common import exceptions as n_exc from neutronclient.neutron import v2_0 as neutronv20 -from oslo_config import cfg from oslo_log import log as logging from oslo_utils import excutils from oslo_utils import uuidutils @@ -33,7 +32,6 @@ from nova import objects from nova import utils -CONF = cfg.CONF LOG = logging.getLogger(__name__) # NOTE: Neutron client has a max URL length of 8192, so we have diff --git a/nova/network/security_group/security_group_base.py b/nova/network/security_group/security_group_base.py index d076752918..e5af41cc5e 100644 --- a/nova/network/security_group/security_group_base.py +++ b/nova/network/security_group/security_group_base.py @@ -19,14 +19,10 @@ import urllib -from oslo_config import cfg - from nova import exception from nova.i18n import _ from nova import utils -CONF = cfg.CONF - class SecurityGroupBase(object): |