pep8 fixes

Change-Id: Ie2aceecfae1cc7012898d6c164c988a9670fd393
This commit is contained in:
Doug Hellmann 2014-03-28 11:20:51 -07:00
parent 042635fdc0
commit b4b7b2cdcb

@ -13,7 +13,7 @@ explicit_floating_ip_opts = [
cfg.MultiStrOpt( cfg.MultiStrOpt(
'floatingip_subnet', 'floatingip_subnet',
default=[], default=[],
help='UUID(s) of subnet(s) from which floating IPs should be allocated', help='UUID(s) of subnet(s) from which floating IPs can be allocated',
required=True, required=True,
), ),
] ]
@ -29,7 +29,6 @@ class ExplicitFloatingIPAllocationMixin(object):
def _allocate_floatingip_from_configured_subnets(self, context): def _allocate_floatingip_from_configured_subnets(self, context):
cfg.CONF.register_opts(explicit_floating_ip_opts, group='akanda') cfg.CONF.register_opts(explicit_floating_ip_opts, group='akanda')
LOG.debug('looking for floating ip on %s', str(cfg.CONF.akanda.floatingip_subnet))
# NOTE(dhellmann): There may be a better way to do this, but # NOTE(dhellmann): There may be a better way to do this, but
# the "filter" argument to get_subnets() is not documented so # the "filter" argument to get_subnets() is not documented so
# who knows. # who knows.