summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorAnthony Young <sleepsonthefloor@gmail.com>2011-08-17 10:23:44 -0700
committerAnthony Young <sleepsonthefloor@gmail.com>2011-08-17 10:23:44 -0700
commit65d7db1136557b7af1f0b9413bacc8fc59e7211f (patch)
tree8da8a0ccc43adc6823ea12496549f84d83219cd1 /nova/api
parent4f3a33859c350ff13b2fd94e33de4f10a7f93bc1 (diff)
pep8 fix
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/contrib/floating_ips.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/nova/api/openstack/contrib/floating_ips.py b/nova/api/openstack/contrib/floating_ips.py
index af3eee16a..2f5fdd001 100644
--- a/nova/api/openstack/contrib/floating_ips.py
+++ b/nova/api/openstack/contrib/floating_ips.py
@@ -105,9 +105,11 @@ class FloatingIPController(object):
floating_ip = self.network_api.get_floating_ip(context, id)
if 'fixed_ip' in floating_ip:
- self.network_api.disassociate_floating_ip(context, floating_ip['address'])
+ self.network_api.disassociate_floating_ip(context,
+ floating_ip['address'])
- self.network_api.release_floating_ip(context, address=floating_ip['address'])
+ self.network_api.release_floating_ip(context,
+ address=floating_ip['address'])
return exc.HTTPAccepted()
def associate(self, req, id, body):